Wednesday, July 22, 2015

The current identity does not have write access to Temporary ASP.NET Files

Case:

A website is hosted in an in-house server. One day, I wasn't able to access the webpage.

The page displayed an error like below

 "The current identity (IIS APPPOOL\domain) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"


Reason:

Most websites gave a solution of creating a temporary folder or give folder access to the user. . But in this case, as the web server had a low disc space, the error occured


Solution:
Make some free space in the web server and the website will start working.

As I couldn't find a fix online, thought of sharing it here :)