Geeks With Blogs
Ahmed Hussein Ahmed Hussein blog
I got these two errors after deploying my ASP.Net applications and web services on new testing/production server. I would like to share how I managed to fix them. see details below:

1- Could not load file or assembly XXXXXXXXXX or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)

Fix:
Request form server admins to remove the size quote limitation on the APP Pools users used for those Asp.Net applications.

Anther related error:
2- access to the path 'C:\WINDOWS\TEMP\expression_host_b55b5ad1bd91405fa6aa96183dd6400e.dll' is denied.
Fix
Gives your APP Pools users (IIS_WPG group) modify access to c:\WINDOWS\TEMP or TMP
OR
Move Temp/TMP folder to anther drive .see details below:
CAUSE

The system TEMP and TMP variables point to a folder that does not exist. The compiler generates temporary files in the folder where the TEMP and the TMP variables point to before the files are copied to the Temporary ASP.NET Files folder. However, the folder where the system variables point to is deleted when you restart the computer. Therefore, the compiler cannot generate the temporary files.


RESOLUTION

1. Create a temporary folder under %Systemroot%, and then name it Temp.

2. Grant full permissions on the Temp folder to the aspnet user account in .NET Framework 1.0 or to the NETWORK SERVICE user account in .NET Framework 1.1.

3. Right-click My Computer, and then click Properties.

4. On the Advanced tab, click Environment Variables.

5. Select the TEMP variable under System variables, and then click Edit.

6. Type %SystemRoot%\TEMP in the Variable Value box, and then click OK.

7. Repeat steps 5 and 6 to edit the TMP variable. Click OK two times.

8. Click Start, and then click Run.

9. To reset Internet Information Services (IIS), type iisreset on the command prompt.

Note If the error message that is mentioned in the "Symptoms" section of this article persists, restart the computer.

Refernaces:
Check your site settings to increase the amount of space allotted
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/7/threadid/28271/scope/posts/Default.aspx
Could not load file or assembly
http://msforums.ph/forums/t/46678.aspx
 
Posted on Wednesday, April 16, 2008 2:30 PM ASP.Net | Back to top


Comments on this post: Could not load file or assembly XXXXXXXXXX or one of its dependencies. There is not enough space on the disk. and access to the path 'C:\WINDOWS\TEMP\ is denied

# re: Could not load file or assembly XXXXXXXXXX or one of its dependencies. There is not enough space on the disk. and access to
Requesting Gravatar...
Fix:
Request form server admins to remove the size quote limitation on the APP Pools users used for those Asp.Net applications...

--> How do you do that .. i'm the sys admin...
Left by Skydiver420 on Feb 17, 2009 6:30 AM

Your comment:
 (will show your gravatar)


Copyright © Ahmed Hussein | Powered by: GeeksWithBlogs.net