APS.NET Temp file accumulation on server

  • Thread starter Thread starter PradeepSharma
  • Start date Start date
P

PradeepSharma

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:

[FONT=Verdana, sans-serif]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. [/FONT]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.

Continue reading...
 
Back
Top