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.

FP2000: Database Connection Appears Broken on Personal Web Server 1.0a


View products that this article applies to.

This article was previously published under Q232612

↑ Back to the top


Symptoms

When you add or change a database connection by using the Database Results Wizard on ASP pages that are hosted on Personal Web Server 1.0a, you may receive the following error message:
Database Results Error
The database connection named 'database1' 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
In FrontPage, the database verifies correctly; yet, you still receive the error when you preview the page in the browser.

↑ Back to the top


Cause

In addition to the possible causes listed in the error message, Microsoft Personal Web Server 1.0a sometimes caches the global.asa file. The global.asa file contains the information that is used for the ASP page to connect to the database when it is viewed from a browser.

If you add an additional database connection, or modify an existing one, the global.asa file is updated. However, when you preview your ASP page in the browser, it may not be using the most current version of the global.asa file.

↑ Back to the top


More information

You can work around this behavior by starting and stopping the Web server. This resets the connection and session status for the Web server.

To do this on Microsoft Personal Web Server 1.0a, follow these steps:
  1. Click Start, point to Settings, and then click Control Panel.
  2. In the Control Panel, double-click the Personal Web Server icon.
  3. Click the Startup tab.
  4. Click the Stop button.
  5. After the Web server is stopped, click the Start button.


↑ Back to the top


Keywords: KB232612, kbprb

↑ Back to the top

Article Info
Article ID : 232612
Revision : 1
Created on : 10/1/2001
Published on : 10/1/2001
Exists online : False
Views : 240