[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+"; |