Article ID: 219170 - View products that this article applies to.
This article was previously published under Q219170
This article has been archived. It is offered "as is" and will no longer be updated.
After you publish a disk-based Web to a Web server, you may receive the following error message when you preview the page in the browser on pages that contain database results regions:
where DatabaseName is the name of your database connection.
Database Results Error
The database connection named 'DatabaseName' 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 permission enabled
* the web is not marked as a Application Root
This behavior occurs when the Web is not marked as an application root.
The Web is not automatically created as an application root. Active Server Pages (ASP) and database features do not function unless the Web is part of an application root.
To resolve this issue, use one of the following methods.
Method 1: Verify the Database ConnectionTo verify the database connection, follow these steps:
Method 2: Set the Root Folder to Allow Programs to Be RunTo set the root folder to allow programs to be run, follow these steps:
Method 3: Create a New Page by Using the Database ConnectionTo create a new page using the database connection, follow these steps:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
If you are hosting your Web on Internet Information Server 3.0 with FrontPage 2000 Server Extensions, please see the following article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/215365/EN-US/ )Server Error: The Folder '/Cgi-bin' Is Marked Executable
Contact us for more help