Microsoft OLE DB Provider for ODBC Drivers error 80004005

Source: Internet
Author: User
Tags mdb database odbc ole

[Microsoft] [ODBC Microsoft Access Driver] Common error cannot open registry key ' temporary (volatile) Jet DSN for process 0x1628 Thread 0x133c DBC 0x175169c Jet '.

/conn.asp, Line 9

Error Reason: Database directory permissions cause

The database file is placed in the root directory, the database file itself has read and write permission, and the root directory only gives Read permission, which causes the MDB database temporary file LdB file cannot be generated in the directory, the solution is to the entire directory IUSR users read and write modify permissions, or the database in a separate directory, and give the entire directory IUSR user read and write Modify permissions


Microsoft OLE DB Provider for ODBC Drivers error ' 80004005′

System environment:
Operating system: Windows Server 2003 Enterprise
Web SERVER:IIS6
Disk Format: NTFS
Databases: Access
Error message: Microsoft OLE DB Provider for ODBC Drivers error ' 80004005′[microsoft][odbc Microsoft Access Driver ' operation must use an updatable query. or Microsoft OLE DB Provider for ODBC Drivers error ' 80004005′[microsoft][odbc Microsoft Access Driver ' cannot be updated. Database or object is read-only

Workaround:

Open the properties of the corresponding database (*.mdb) file, the Security tab, add or modify the permissions of the Internet Guest account (IUSR_machinename), and allow write.

Other references some friends say it's a connection problem.

The code is as follows Copy Code
<%
var conn=server.createobject ("ADODB.") Connection ");
var path=server.mappath ("Wang.mdb");
var connstr= "Driver={microsoft Access DRIVER (*.mdb)};D BQ" +path+ ";
Conn. Open (CONNSTR)
%>

Error tip is technical information (for support personnel)

Error type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040e4e)
The operation has been canceled.
/mysite/wang5.asp, line 16th.

  code is as follows copy code


Var Connstr= "Driver={microsoft Access Driver (*.mdb)};d qb=" +path+ ";

Try this again

Var connstr= "Provider=Microsoft.Jet.OLEDB.4.0; Persist security Info=false;data source= "+path+";

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.