PRB: Cannot Open File Unknown Using AccessLast reviewed: December 11, 1997Article ID: Q166029 |
The information in this article applies to:
SYMPTOMSWhen using Active Server Pages to query an Access database, you may encounter 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 '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data. /scripts/somefile.asp, line x CAUSEThis Error message can be caused by any of the following conditions:
RESOLUTIONA possible workaround for this issue is to move the .mdb file to the server running IIS. If it is not possible to move the .mdb file locally, the following workarounds can be used to address the causes above: Use Basic Authentication instead of NT Challenge response when accessing secured scripts that query .mdb files located on another server. You can do this with the following:
MORE INFORMATIONWhen using NT Challenge / Response with IIS, the users credentials are created at the browser. The credentials are then sent to IIS. IIS cannot forward those credentials on to another server. The connection is attempted, but there is no username specified when connecting to the remote machine, so the connection fails.
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q174811 TITLE : FILE: Authentication and Security for Internet Developers Keywords : AXSFConfig kbsetup kbtshoot Version : 3.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |