Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 909502 - Last Review: December 15, 2005 - Revision: 1.1
Error message when you browse a database results page in FrontPage 2003: "Database Results Wizard Error. The database connection named 'DATABASE1' is undefined"
You use the Database Results Wizard to create a database results page in Microsoft Office FrontPage 2003. When you try to browse this database results page, you receive an error message that is similar to the following:
Database Results Wizard Error
The database connection named 'DATABASE1' is undefined.
This issue occurs if the following conditions are true:
- You converted a sub Web to a folder. However, you created a database connection in the sub Web before you converted the sub Web to the folder.
Note The application root for the sub Web is not automatically removed when you convert the sub Web to a folder. - You created an instance of the Database Results Wizard in a new page in the folder that you created in step 1.
When you browse the database results page, the Active Server Page (ASP) page tries to access the Global.asa file in the folder that you created instead of in the root folder of the Web site. This behavior occurs because the ASP page always tries to access the Global.asa file from a folder if the following conditions are true:
- The folder contains the ASP page.
- The folder is the application root.
To resolve the issue, follow these steps:
- Remove the application root from the folder that you converted from a sub Web.
To do this, follow these steps:
- Click Start, click Run, type inetmgr in the Open box, and then click OK.
- Expand the root site, right-click the folder from which you want to remove the application root, and then click Properties.
- Click the Directory tab, click Remove in the Application settings field, and then click OK.
- Open the Global.asa file in Microsoft FrontPage.
- Save the Global.asa file back to the content folder, restart the Microsoft Internet Information Services (IIS), and then test the form.
To restart IIS, follow these steps:- Click Start, click Run, type cmd in the Open box, and then click OK.
- At the command prompt, type iisreset, and then press ENTER.
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
265174Â
(http://kbalertz.com/Feedback.aspx?kbNumber=265174/
)
"Connection Undefined" error when you view an Active Server Page in the Web Browser
292628Â
(http://kbalertz.com/Feedback.aspx?kbNumber=292628/
)
Database connection undefined after publishing Web
APPLIES TO
- Microsoft Office FrontPage 2003
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate