You receive an error message when you try locate an ASP database result page that was created in FrontPage (265161)
The information in this article applies to:
- Microsoft FrontPage 2002
- Microsoft FrontPage 2000
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 Note This error message may be followed by a description of why the
resource was inaccessible. Error #2: Execute Access Denied This Virtual
Directory does not allow objects to be executed. Error #3: 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:
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:
- Right-click Start, and then click Open to start Microsoft Windows Explorer.
- Expand the %ProgramFiles%\Common
Files\System folder in Folders view.
- Right-click the folder, and then click Properties.
- Click the Security tab.
- Add Everyone to the exisiting permissions with at least Read permissions and apply these new settings to all files and
subfolders.
- Click OK.
Error #2: Mark the folder as an Application Root. To do this, follow these steps:
- Start Internet Services Manager. To do this, follow the
steps for your version of IIS.
- For IIS 5.0, for IIS 5.1, and for IIS 6.0:
- Click Start, and then click
Run.
- Type
%windir%\system32\inetsrv\inetmgr.exe in the
Open box, and then click OK.
- For IIS 4.0:
- Click Start, point to Programs, and then click Windows NT 4.0 Option
Pack.
- Click Microsoft Internet Information
Server.
- Click Internet Service Manager.
- Expand the path to the folder in Tree view.
- Right-click the folder, and then click Properties.
- Click the Directory tab or click the Home Directory tab.
- Click Create.
- Click OK.
Error #3: Configure the folder to have at least Script permissions. To do this, follow these steps:
- Start Internet Services Manager. To do this, follow the
steps for your version of IIS:
- For IIS 5.0, for IIS 5.1, and for IIS 6.0:
- Click Start, and then click
Run.
- Type
%windir%\system32\inetsrv\inetmgr.exe in the
Open box, and then click OK.
- For IIS 4.0:
- Click Start, point to Programs, and then click Windows NT 4.0 Option
Pack.
- Click Microsoft Internet Information
Server.
- Click Internet Service Manager.
- Expand the path to the folder in the Tree view.
- Right-click the folder, and then click Properties.
- Click the Directory tab or click the Home Directory tab.
- Select Scripts only for the execute permissions.
- Click OK.
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
Cannot create object error when
browsing ASP pages
219170 Error browsing database results pages after publishing from disk-based
Web
315453 "Server object error 'ASP 0177: 800401f3'" error message when you access an ASP database results page in FrontPage 2000
315454 "Server object error 'ASP 0178 : 80070005'" error message when you attempt to connect to a database results page created in FrontPage
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
How to troubleshoot permissions in
Internet Information Server 4.0
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:
- Click Start, click Run, type http://localhost/iishelp in the Open box, and then click OK.
- On the IIS Documentation page, click the Index tab, type virtual directory, select the
subtopic that you want, and then click Display.
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kbScript kbDatabase kbASP kbpermissions kbprb KB265161 |
---|
|