Reader Level:
Articles

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

By Mahesh Chand on May 03, 2012
You get this error when you try to open an ASP.NET website.
  • 1
  • 0
  • 9697

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

Founder C# Corner, a member-contributions based community founded in 1999 focuses on character, values, learning, sharing, networking and career growth. Mahesh has been awarded prestigious... Read more

COMMENT USING

Trending up