Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2002: Database Connection Undefined After Publishing Web


View products that this article applies to.

This article was previously published under Q292628
For a Microsoft FrontPage 2000 version of this article, see 204152 (http://support.microsoft.com/kb/204152/EN-US/ ) .

↑ Back to the top


Symptoms

After you publish a Web that contains a database connection, the following error message may appear:
Database Results Error
The database connection named "Database1" is undefined.

This problem can occur if any of the following conditions is true:
  • 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.

↑ Back to the top


Cause

When you publish, the destination Web is not automatically marked as an application root.

↑ Back to the top


Resolution

To correct this problem, re-verify the database connection. To do this, follow these steps:
  1. Start FrontPage and then open the Web.
  2. On the Tools menu, click Web Settings.
  3. On the Database tab, click the database connection, and then click Verify.
This verifies the connection to the database and marks the Web as an application root.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB292628, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 292628
Revision : 3
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 276