所以我的文件位于网站文件夹结构的文件夹中。 我用它来记录错误。
它从Visual Studio运行时有效。
我理解这个问题。 我需要在inetpub上设置权限。 但对于什么用户? 如何?
我尝试添加一些IIS用户,但它仍然无法写入该文件。
所以我使用ASP.net Framework 3.5 SP1 Server是Windows Server 2003企业版SP2
我应该如何设置权限,以便写入工作?
谢谢
So I have file that is in folder in website folder structure. I use it to log errors.
It works when ran from Visual Studio.
I understand the problem. I need to set permissions on inetpub. But for what user ? and how?
I tried adding some IIS user but it still can not write to the file.
So I am using ASP.net Framework 3.5 SP1 Server is Windows Server 2003 enterprise edition SP2
How should I set up permissions so write would work?
Thanks
最满意答案
您需要授予网络服务帐户修改权限。 右键单击该文件夹,选择属性,转到“安全”选项卡,然后添加“网络服务”帐户(如果不存在)。 如果已列出,请确保已选中“修改”。
You need to give the Network Service account modify rights. Right click on the folder, choose properties, go to the Security tab and add the Network Service account if it's not there. If it is listed, ensure it had "Modify" checked.
更多推荐
SP,Visual,写入,inetpub,电脑培训,计算机培训,IT培训"/> <meta name="descript
发布评论