I developed a simple web application. A label and a button. On click of Button, the label will display Hello World.
When I deploy this web application on my web server and access the URL, I get this error message.
The current identity (NT Authority/Network Service) does not have write access to C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\
I have tried the following -
Navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and typed the following command -
aspnet_regiis -ga "NT Authority\Network Service"
After that also, it did not work.
We checked the permissions of the folder Temporary ASP.NET Files and for the Network Service user, we checked the Security Permissions and it has all the permissions as required.
Right-click on NT AUTHORITY\SYSTEM and select Properties. This opens the Login Properties window. Select Server Roles and from the Server roles list on the right, select sysadmin. Click OK to confirm the roles selected for System account.
The NT AUTHORITY account is a built in account mostly used to run XP Services. Many XP Services run under the NT AUTHORITY account (it is like a User account but you will not see it in your Users list) and there are different levels for different Services.
This worked for me, didn't try the -ga:
Navigate to
C:\Windows\Microsoft.NET\Framework\v2.0.50727
and type the following command
aspnet_regiis -i
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With