MS Access 2003 Error Message "Not Enough Space on Temporary Disk"

Mariyam used Ask the Experts™
I've Googled the specific error message and have found several suggestions on what to do but none of them actually have resolved the issue.

Does anyone have specific knowledge on how to resolve this problem?  Also if anyone knows if the message is referring to temporary disk space on the system drive ("like" in the paging files) or if it means "working space" within the database itself, that information would be helpful.

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This is the temp disk storage used for processing queries, which is based on the TEMP system variable.  If you're running as a user on Windows 7 or later, it's likely set to be something like:  C:\Users\USERNAME\AppData\Local\Temp  or C:\Users\USERNAME\AppData\Roaming\Temp

If you have limited space available in your profile either due to physical disk space or system policies, and assuming you can't clean up extra space, you will have to either change the TEMP variable prior to running Access, or else modify your code to be more memory efficient.

If you can provide a bit more details about how much space you have available, what your %TEMP% variable is set to (echo %TEMP% from command line, and obfuscate the username info before pasting here), how big the database file is, and what kind of process it's doing when you get the error, we may be able to provide more specific guidance.
Jim Dettman (EE MVE)President / Owner
Most Valuable Expert 2017
Most Valuable Expert 2012
<<This is the temp disk storage used for processing queries, which is based on the TEMP system variable. >>

 Also check TMP

 But beyond that, there are numerous things that can cause that error message (i.e. size of DB grows >2GB) and it can be difficult to track down what's causing it.

 Can you tell us what the operation is when this occurs and what so far that you have tried?

MIS Liason
Most Valuable Expert 2012
...I see that you are using Access 2003.
The standard fix in that version was to modify the MaxLocksPerFile registry setting, ...see here:

*But follow up with Jim first.*
Depending on what your have going on there, there may be a more straightforward resolution, ...if there is, ...Jim will know it...


Sorry for the delay, the whole application suddenly went away, or so I was told.  

Jeffrey Coachman:  I liked the registry fix but this company has things locked down so tightly that we can sometimes barely get the things we need to accomplish done.  A registry hack on THEIR system would be totally out of the question, but I can definitely try it on my own.

sentner:  thanks for the contribution.  I tried it and for whatever reason it had no effect.  Besides this is an intermittent problem.

 Jim Dettman (EE MVE / MS Access MVP):  tried that too, no affect but thank you.

Thanks to everyone who contributed.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial