Reader Level:
ARTICLE

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

On May 03, 2012 Articles | Error Zone
You get this error when you try to open an ASP.NET website.
  • 1
  • 0
  • 9185

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!

Mahesh Chand

Mahesh Chand is founder of C# Corner. C# Corner founded in 1999 is a FREE member contributions based open platform for developers to solve problems, learn new technology and hang out.  M...

  • 1rank
  • 71M readers
  • 9times
COMMENT USING

Trending up