APS.NET Temp file accumulation on server

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.

Issue:

Many of our customers have observed ASP.NET files piled up on many of the servers and size has gone up to 100 GB. and wanted to know it happens and the impact of removing the same.

 

Temp file accumulation at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root path.

 

Cause:

By default, when you compile a Web application the compiled code is placed in the Temporary ASP.NET Files folder. This folder is a sub-directory of the location where you installed the .NET framework. There were more than 40 websites hosted on the single server.

 

Solution:

You can feel free to delete anything below Temporary ASP.NET Files (Worth noting that you mustn't delete the Temporary ASP.NET Files folder itself but you can clear its contents.). All of the contents will be generated again after you rebuild project.

So, removing the temp files may result in slow initial response. But once the files are recompiled the users won't be seeing any slowness.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.