Tuesday, June 10, 2008

Fixing the: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to error

Doing some testing of our website on a new server.

Encountered the following error when testing a web service:

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

The fix for this is pretty simple run the following command:
aspnet_regiis -ga "NT AUTHORITY\NETWORK SERVICE"

If this command is not recognized at the command line you will need to find aspnet_regiis, for the 2.0 Framework it is usually in the following path:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

No comments: