当前位置: 动力学知识库 > 问答 > 编程问答 >

asp.net mvc - The current identity (NT AUTHORITY\NETWORK SERVICE) error

问题描述:

I am getting the error, when trying to deploy the mvc website :

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'

I have tried the following solutions ,but still getting the samer error :

  1. Re-installed IIS
  2. Ran the following commands in cmd :

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -ga "NT Authority\Network Service"

    &

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -i

网友答案:

for very simple and basic solution try to give all necessary permission for this folder, and maybe for root folder also

分享给朋友:
您可能感兴趣的文章:
随机阅读: