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.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


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

↑ Back to the top


Keywords: kbbug, kbdatabase, kberrmsg, kbfix, kbiis500fix, kboswin2000fix, kbsecurity, kbwebserver, KB189408

↑ Back to the top

Article Info
Article ID : 189408
Revision : 9
Created on : 7/8/2005
Published on : 7/8/2005
Exists online : False
Views : 545