Article ID: 265174 - Last Review: August 27, 2002 - Revision: 1.1 FP2000: "Connection Undefined" Error When You View an Active Server Page in the Web Browser
This article was previously published under Q265174 On This PageSYMPTOMS
When you attempt to view an Active Server Page (ASP) in the Web browser, you may receive an error message similar to the following:
Database Results Error The database connection named "Database1" is undefined. CAUSE
This behavior can occur if the Global.asa does not execute as expected.
RESOLUTION
To resolve this issue, use the following Active Server Page code to verify whether Active Server Pages are working and to test whether the Global.asa is executing with the Microsoft FrontPage connection information. NOTE:
Sample Code
TIME: 4:10:38 PM
DATA: DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\inetpub\wwwroot\fpdb\fpnwind.mdb
MORE INFORMATION:
204152
(http://support.microsoft.com/kb/204152/EN-US/
)
FP2000: Database Connection Undefined After Publishing Web
219170
(http://support.microsoft.com/kb/219170/EN-US/
)
FP2000: Error Browsing Database Results Pages After Publishing from Disk-Based Web
In addition, the following article contains more information on this subject. Although this article references Microsoft Visual InterDev, in this instance it can apply to FrontPage if the code returns data for the =Time() function, but does not return data for the =Application() variable.
188715
(http://support.microsoft.com/kb/188715/EN-US/
)
Global ASA Not Firing When Visual InterDev Made IIS 4.0 Application
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
