Tuesday, September 25, 2007

There is not enough space on the disk

Ever had that error? No? Well neither have I until recently. It seems that when an user tries to upload multiple large files and the webserver tries to check those files, the 'temp' folder is being used to store those files. Whenever the webserver runs out of disk space it prompts the user with the error "There is not enough space on the disk" or "There is not enough space on the disk (Exception from HRESULT 0x80070070)". Solution? Move the temp folders to a different partition/disk other than for example the C disk. How?

  • Go to the properties of the server
  • Click on the advanced tab
  • Click on environment variables,
  • Within the system variables section locate the the TEMP and TMP variable and change them
  • Reboot the machine

Technorati tags: , ,

7 comments:

Ruudvdh said...

Why are you doing system administrator tasks. ;-)

Robin Meuré said...

I'm asking myself the same question every day ;)

Mike Carrington said...

thanks heaps for sharing, would have taken longer to rectify without your help.

Anonymous said...

I have the same problem, do you think it will solve my problem?

Anonymous said...

I had the same problem but i have only 20kb on my c; drive.

solution: I have moved some of my from C:drive to D: drive and started the application pool.

Have a try it may work.

e signatures said...

You just made something that I thought was so difficult be, truly, so easy! Thanks for the post!

moshrabbi121 said...

I’m impressed, I need to say. Actually not often do I encounter a blog that’s both educative and entertaining, and let me inform you, you've hit the nail on the head. Your idea is outstanding; the problem is something that not sufficient persons are talking intelligently about. I'm very comfortable that I stumbled across this in my seek for one thing relating to this. online casino bonus