Fix an Undefined Database Connection in Frontpage

After you publish a Web that contains a database connection, the following error message may appear:

Database Results Error
The database connection named "database" 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.

This occurs when you publish and the destination website is not automatically set as the application starting point.

To correct this problem, re-verify the database connection by doing the following.:

  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 Frontpage Web as an application starting point and should resolve the issue.