当前标识(NT AUTHORITY /网络服务)没有写权限 [英] The current identity (NT Authority/Network Service) does not have write access to

查看:253
本文介绍了当前标识(NT AUTHORITY /网络服务)没有写权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个简单的Web应用程序。一个标签和一个按钮。在点击按钮,标签将显示的Hello World。

I developed a simple web application. A label and a button. On click of Button, the label will display Hello World.

当我部署我的Web服务器上这个Web应用程序和访问的URL,我得到这个错误信息。

When I deploy this web application on my web server and access the URL, I get this error message.

当前标识(NT
  机构/网络服务)不
  有写权限
  C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727 \\临时
  ASP.NET文件\\

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\

我曾尝试以下 -

导航到C:\\ WINDOWS \\ Microsoft.NET \\框架\\ V2.0.50727和类型下面的命令 -

Navigate to C:\Windows\Microsoft.NET\Framework\v2.0.50727 and typed the following command -

aspnet_regiis -ga "NT Authority\Network Service"

这也是之后,没有工作。

After that also, it did not work.

我们检查了文件夹ASP.NET临时文件的权限和网络服务的用户,我们检查了安全权限,并根据需要将其拥有的所有权限。

We checked the permissions of the folder Temporary ASP.NET Files and for the Network Service user, we checked the Security Permissions and it has all the permissions as required.

任何帮助是极大AP preciated!

Any help is greatly appreciated!

干杯,

推荐答案

这工作对我来说,没有尝试的-ga:

This worked for me, didnt try the -ga:

导航到

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

和键入以下命令 -

and type the following command -

aspnet_regiis -i

这篇关于当前标识(NT AUTHORITY /网络服务)没有写权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆