The Microsoft Jet Database Engine cannot open the file '(unknown )'. It has been opened exclusively by other users.
Deploying an asp program today took me more than an hour. It turns out that the read and write permissions of C: \ Windows \ Temp's everyone are all strange !!!
Method 1:
Error Type: Microsoft ole db Provider for ODBC Drivers ('0 × 80004005 ′)
[Microsoft] [ODBC Microsoft Access Driver] the Microsoft Jet Database Engine cannot open the file '(unknown )'. It has been opened exclusively by another user or has no permission to view data.
/Conn. asp, 6th rows
Solution:
1. When operating the database in asp, the following error occurs:
2. folder --> properties; or, resource manager --> tool --> Folder Options
3. On the "View" tab, select "use simple file sharing"
4. In this way, you can right-click the NTFS partition folder under XP and see the "Security" tab like WIN2000.
5. Under the "Security" tab, click "add ......", The "select user and group" dialog box is displayed.
6. Click "Search now" and select "IUSR _" in the list shown in the figure (your computer name is followed by an underscore)
7. Then, "Internet Guest Account" will appear on the "Security" tab. Set the account permissions to "changeable" and "writable"
Finally, press "OK" to solve the problem and the "Microsoft OLE DB Provider for ODBC Drivers (0 × 80004005)" error will no longer appear!
Method 2:
Error Type:
Microsoft ole db Provider for ODBC Drivers ('0 × 80004005 ′)
[Microsoft] [ODBC Microsoft Access Driver] the Microsoft Jet Database Engine cannot open the file '(unknown )'. It has been opened exclusively by another user or has no permission to view data.
/Conn. asp, 6th rows
C: \ Windows \ Temp, add the everyone permission!
Error details:
When the ASP Website is opened after IIS is set, the following message is displayed: Microsoft ole db Provider for ODBC Drivers error '000000 ′
[Microsoft] [ODBC Microsoft Access Driver] common errors do not enable the Registry keyword 'temporary (volatile) Jet DSN for process 0 × 728 Thread 0 × 854 DBC 0 × 276fb44 jet'
Procedure:
1. In the WINSOWS/TEMP directory security option, add the account everyone with write permission (skip this step if the file system is not NTFS );
2. Open the command prompt and execute the following commands successively:
Regsvr32 jscript. dll
Regsvr32 vbscript. dll
Iisreset !!