Jump to content

ASP.NET Temporary Files


Recommended Posts

What about cleaning the ASP.NET Temporary Files folders?

ASP.NET doesn't cleanup itself. In a recommendation I've read (i believe on MS KB) it's recommended to restart IIS - however I never restarted IIS for cleanup up these folders.

 

I had the problem, that my provider did setup a quota for the folder or whatever - and my app stopped because of 'not enough disk space'. Also when developing, ASP.NET recompiles the app and sometimes gets binding exceptions (leading to false errors).

 

Folders:

"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"

 

Note also, that .NET 4.5 is an in-place update and has the same folders and versions:

http://www.west-wind.com/weblog/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.