The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access

The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access


You get this error when default Network service does not have permissions on the IIS website. 

Error looks like this.

NTError1.png

This can be fixed by allowing access using aspnet_regiis - ga like this:

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -ga "NT Authority\Network Service"

Go to command prompt. Go to the respective directory and run the command. You should see Start granting command message.

NTerror.png

Cheers!


Recommended Ebook

Programming Errors & Solutions

Download Now!
Similar Articles
Mindcracker
Founded in 2003, Mindcracker is the authority in custom software development and innovation. We put best practices into action. We deliver solutions based on consumer and industry analysis.