I got below error while accessing my domain.
The current identity (SERVER\USER) does not have write access to 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
Solution:
Open a command window "as administrator". run:
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Aspnet_regiis.exe -ga server\user
and or
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Aspnet_regiis.exe -ga server\user
Replace the server\user with the username that your application pool runs under This gives that identity access to the iis configuration and other directories used by ASP.NET