Microsoft KB Archive/189408

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

Article ID: 189408

Article Last Modified on 7/8/2005

-

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

-



This article was previously published under Q189408



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.

