The Microsoft Jet Database Engine cannot open the file '(unknown )'. It has been opened exclusively by other users.

Source: Internet
Author: User

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 !!

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.