FIX: ASP Fails to Access Network Files Under IIS 4.0 and IIS 5.0

Article translations Article translations
Article ID: 189408 - View products that this article applies to.
This article was previously published under Q189408
Expand all | Collapse all

SYMPTOMS

Failures occur when Active Server Pages (ASP) code accesses a file-based resource over the network. Examples include the following:
  • If you Scripting.FileSystemObject to access a file that is stored on a network share, you receive the following error message:
    Server object error 'ASP 0177:800a0046'
    Server.CreateObject Failed
    ...
    The operation completed successfully.
  • If you access a local Microsoft Access database that is linked to a table where the table linked to is in an Access database on a network server, you receive the following error message:
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access 97 Driver] The Microsoft Jet
    Database engine cannot open the file '******'. It is already opened
    exclusively by another user, or you need permission to view its data.

CAUSE

This behavior occurs when password synchronization is enabled for the IIS 4.0 application. For IIS 5.0, password synchronization is called "Allow IIS to control password."

When you connect to an Access database or that Access database is linked to Access tables across the network, this problem can be caused by a combination of password synchronization being enabled and a bug in the Odbcjt32.dll version 3.51.1029 (Microsoft Data Access Components 1.5). That particular problem has been fixed in MDAC version 2.0 and later.

RESOLUTION

Disable password synchronization for the Internet Information Server 4.0 application. For IIS 5.0, do not allow IIS to control the password. To do this, perform the following steps:
  1. Open the Internet Services Manager.
  2. Edit the Properties of the application.
  3. On the Directory Security tab, edit Anonymous Access and Authentication Control.
  4. Edit the Account used for Anonymous Access.
  5. In IIS 4.0, clear the Enable Automatic Password Synchronization check box.

    In IIS 5.0, clear the Allow IIS to control password check box.

STATUS

This behavior is by design.

This problem does not occur for IIS 5.0/Windows 2000 networks that are set up to use Kerberos authentication.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
229694 How to Use the IIS Security What If Tool

Properties

Article ID: 189408 - Last Review: July 8, 2005 - Revision: 4.5
APPLIES TO
  • Microsoft Active Server Pages 2.0
  • Microsoft Active Server Pages 3.0
  • Microsoft Open Database Connectivity Driver for Access 3.5
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.7
Keywords: 
kbbug kbdatabase kberrmsg kbfix kbiis500fix kboswin2000fix kbsecurity kbwebserver KB189408

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com