Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 243090 - Last Review: February 21, 2007 - Revision: 2.1
Database Region Fails After Publish
This article was previously published under Q243090
When you publish a Web site that contains a database region that is located in a subweb, the database region fails with the following error message:
Database Results Error
The database connection named 'database' is undefined.
This problem can occur if:
* the connection has been removed from the web
* the file 'global.asa' is missing or contains errors
* the root folder does not have Scripting permissions enabled
* the web is not marked as an Application Root
When a subweb is published to an IIS computer, FrontPage creates the subweb as an application root. This causes a problem for the ASP page because the Global.asa file is in the wrong place based on the application settings.
To work around this behavior do the following:
- Click Start and point to Programs.
- Point to Windows NT 4.0 Option Pack and then point to Microsoft Internet Information Server.
- Click Internet Service Manager.
- Click the plus sign (+) next to the Web site in question and expand the folders until you get to the subweb containing the ASP page that references the database.
- Right-click the subweb and click Properties.
- On the Directory tab, click the Remove button in the Application Settings.
- Click OK.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
APPLIES TO
- Microsoft FrontPage 2000 Server Extensions
- Microsoft FrontPage 98 Standard Edition
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