Article ID: 265161 - Last Review: January 27, 2007 - Revision: 2.8 You receive an error message when you try locate an ASP database result page that was created in FrontPage
This article was previously published under Q265161 SYMPTOMS When you try to locate an Active Server Page (ASP) database
results page that was created in Microsoft FrontPage, you may receive an error
message that is similar to one of the following: Error #1: Microsoft VBScript runtime error
'800a01ad' ActiveX component can't create object /_fpclass/fpdbrgn1.inc, line 99 Error #2: Execute Access Denied This Virtual Directory does not allow objects to be executed. Database Results Error The database connection named 'Sample' 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. CAUSE This problem may occur if the following respective
conditions are true: Error #1: The NTFS file systems permissions are defined incorrectly for the %ProgramFiles%\Common Files\System folder. Error #2: The virtual directory that you are connecting to is not marked as an ASP program. Error #3: The virtual directory that you are connecting to does not have at least Script permissions defined in the Microsoft Internet Information Service (IIS) settings. RESOLUTIONNote
We strongly recommend that you upgrade to Microsoft Internet Information
Services (IIS) 6.0 running on Microsoft Windows Server 2003. IIS 6.0
helps increase Web infrastructure security. For more information about
IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
To
resolve this problem, use the method appropriate to the error message you are
receiving:Error #1: Reset the NTFS permisions on the "%ProgramFiles%\Common Files\System" folder. To do this, follow these steps:
Mark the folder as an Application Root. To do this, follow these steps:
Configure the folder to have at least Script permissions. To do this, follow these steps:
MORE INFORMATION If you are trying to gain access to a Microsoft Access
database, make sure that you have established the appropriate permissions.
When a user tries to perform an Internet Database
Connector (IDC) or ActiveX Data Objects (ADO) query, the query is run in
context of the authenticated Web user. Typically, you (the FrontPage Web
developer) might grant the directory permissions listed later in this article
to an anonymous user or to the authenticated Microsoft Windows NT user account.
(By default, the anonymous user is
IUSR_machine-name.) When you apply these permissions, apply them to all existing files unless otherwise noted. When you set permissions for the IUSR account, you need to add all user accounts that need to be authenticated on the Microsoft Internet Information Server (IIS) computer. The directories identified in the sixth and seventh bullets that follow are located by default in the Program Files/Common Files/System directory and are needed only for ASP and ADO queries. Typical permissions for IUSR are as follows:
315456
(http://support.microsoft.com/kb/315456/
)
You receive a database results
error when you connect to database from an ASP page
REFERENCES For more information about how to troubleshoot
ASP/IIS errors when you work with FrontPage database connectivity features,
click the following article numbers to view the articles in the Microsoft
Knowledge Base: 201740
(http://support.microsoft.com/kb/201740/
)
Cannot create object error when
browsing ASP pages
219170
(http://support.microsoft.com/kb/219170/
)
Error browsing database results pages after publishing from disk-based
Web
315453
(http://support.microsoft.com/kb/315453/
)
"Server object error 'ASP 0177: 800401f3'" error message when you access an ASP database results page in FrontPage 2000
315454
(http://support.microsoft.com/kb/315454/
)
"Server object error 'ASP 0178 : 80070005'" error message when you attempt to connect to a database results page created in FrontPage
315456
(http://support.microsoft.com/kb/315456/
)
You receive a database results error message when you connect to database from an ASP page in FrontPage
For more information about how to
troubleshoot IIS permissions, click the following article numbers to view the
articles in the Microsoft Knowledge Base: 185874
(http://support.microsoft.com/kb/185874/
)
How to troubleshoot permissions in
Internet Information Server 4.0
309051
(http://support.microsoft.com/kb/309051/
)
How to troubleshoot ASP in IIS 5.0
For additional information about virtual
directories and application objects, see the Internet Information Services
Documentation on your Web server. To view this documentation, follow these
steps:
| 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
