NT AUTHORITY-NETWORK SERVICE does not have write access.

When you have created virtual directory of your application created in .Net2.0 and application is not running.
Even everything is fine in web.config, still it is giving error in web.config file.

Error :- 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'.

Solution is
goto command prompt then navigate to directory

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

Now run this command

aspnet_regiis -ga "NT AUTHORITY\NETWORK SERVICE"

Everything will wok fine.



Comments

Author: Hetvi Soni18 Dec 2008 Member Level: Silver   Points : 0

Hey thanks for your post.
it solves my problem..
thank u so much.

Author: Hetvi Soni19 Dec 2008 Member Level: Silver   Points : 2

Hey ur solution solves my problem.
now i m able to run my site fine.
but i m using reporting service in my project.
so when i try to run the report it gives me error like
"The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this operation. (rsAccessDenied)"
Do u have any idea about this??
reply asap.
Thanks in advance..

Regards
Hetvi Soni



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: