You may have seen this error when working with Access:
Microsoft OLE DB Provider for ODBC Drivers error '8007000E' [Microsoft][ODBC Microsoft Access Driver] Not enough space on temporary disk. <file>.asp, line <?> |
The error might also be
system resource exceeded. This can be caused by at least two different things.
The first thing you should do is make sure that IUSR has sufficient permissions to the folder where JET*.tmp files are created. This is typically in %windir%\temp\ or %systemdrive%\temp\ -- but you can check your exact location by using SET at the command line, or checking the PATH properties in the Control Panel / System applet.
The second thing you should do is try to minimize the number of JET*.tmp files you need to create. For example, when opening the database solely to retrieve data (no UPDATE, INSERT or DELETE), do so in adModeRead mode. This way, Access will use the least amount of temporary files, since it doesn't need to prepare room or logic for changing existing data. Here is an example of opening an Access database in adModeRead mode:
<% set conn = CreateObject("ADODB.Connection") conn.mode = 1 ' adModeRead conn.open "<connection string>" ' ... %> |