用户需要对 App_Data 文件夹具有哪些写入权限才能让 Elmah 写入错误文件
我已经发布了我的网站并引发了异常,但 App_Data 文件夹中没有生成错误文件。我想知道它是否具有对该文件夹的写权限。
文档说 ASP.Net 进程需要写访问权限,但不确定这是什么意思。有人可以告诉我哪个用户需要此文件夹的权限吗?
谢谢
更新:我发现Win 2003上的ASP.Net进程是用户NETWORK SERVICE。这是正确的吗?
I have published my site and an exception is thrown but no error files are generated in the App_Data folder. I am wondering whether its write access to the folder.
The documentation says the ASP.Net process needs write access but not sure what is meant by that. Can someone tell me which user needs rights to this folder?
Thanks
UPDATE: I have found that the ASP.Net process on Win 2003 is the user NETWORK SERVICE. Is that correct?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Windows Server 2003 (IIS6+) 及更高版本上,它是网络服务。在 IIS 5 及更低版本上,需要所需访问权限的是 ASPNET 用户帐户。
On Windows Server 2003 (IIS6+) and higher it is NETWORK SERVICE. On IIS 5 and below it is the ASPNET user account that needs the required access.
它是您的应用程序在其中运行的应用程序池的身份的任何用户。通常这将是网络服务,但如果您的托管管理员已这样设置,则它可能是不同的帐户。
It's whatever user is the identity of the application pool your app is running in. Typically this will be Network Service, but it could be a different account if your hosting administrator has set it up that way.