SYMPTOMS
When trying to connect to an Access .mdb file, an ODBC error is returned stating “Disk or Network Error”. The Microsoft OLE DB Provider for the Microsoft Jet database engine may also return an “Unspecified error” (error code = 0x80004005) message.
The problem can occur only when the data source is opened under the Microsoft Internet Information Server (IIS) or a Microsoft Windows NT service but not under a logged-on user account.
CAUSE
Jet creates a temporary file when the engine is started. In doing so, it first checks the TMP environment variable and uses that path to define where the temporary file is created. If it doesn’t see a TMP environment variable, it looks for the TEMP environment variable. If TEMP is not defined, it then uses the Windows folder (/WINDOWS or /WINNT).
If TMP/TEMP is defined but points to a nonexistent folder, the error occurs.
Moreover, when opening the Access database through IIS or a Windows NT service, and when IIS or the service is running under the local system account, the TMP or TEMP system environment variable is used. When the Web services or Windows NT service are started using a user account, the TMP/TEMP user profile environment variables is used.
RESOLUTION
Define a TMP or TEMP environment variable and assign the variable to an existing folder. If you are accessing the Access database from IIS, be certain to check the system environment settings rather than environment variables of the logged-on user. Also ensure that the IUSER anonymous IIS account has access to the temporary folder.
You must restart the computer after changing any environment variables.
Environment variables are set under Windows NT 4.0 by going to the Control Panel and clicking System and then selecting the Environment tab.
Read More:
- OSD deployment failure code (0x00000001) 0x80004005
- MS SQL Could not obtain information about Windows NT group/user ‘domain\login’, error code 0x5. [SQ…
- Real machine debugging error error = = error domain = nsurlerrordomain code = – 1009 “seems to have disconnected from the Internet. “
- RuntimeError: Expected hidden[0] size (x, x, x), got(x, x, x)
- Geforce experience appears something went wrong error code 0x0003 error code solution
- win7 error code 0x80070522
- Solve geforce error code with super full solution CODE:0x0003 Problem approach
- SSIS Error:Package Validation Error. SSIS Error Code DTS_E_OLEDBERROR. .Error code: 0x80040E37. An …
- The solution of GDB code designed problem in Mac OS X
- CLP: error: getaddrinfo enotfound http://x.x.x.x/
- There was an internal error, and Internet Explorer is unable to print this document
- [Solved] emulator: glteximage2d: got err pre 🙁 0x502 internal 0x1908 format 0x1908 type 0x1401
- install sql server 2016 Error code 0x84B20001
- Win10 account login error report error code: 0x80190001
- module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribute ‘CLSIDToClassMa
- Ubuntu18 “Activation of network connection failed” cannot access the Internet 【Solution】
- Failed to execute tools\ android.bat : minutes! The same thing on the Internet, can’t it be solved? Look at this one!
- An error occurred while win7 was sharing the Internet
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- [-] handler failed to bind to x.x.x.x: Port troubleshooting