1

I had a problem running an ASP.NET application (application Pool v4.0) on windows server 2008 IIS 7.5. I figured out that it's a permissions problem, but I couldn't find ASP.NET user group, so I granted NETWORK SERVICE and still it didn't work until I granted IIS_USERS permission to read/write and modify then it worked.

Why I can't find ASP.NET user group? and how can I add it if possible?

4

1 回答 1

1

当您应用文件和文件夹权限时,您授予应用程序池身份所需的任何权限。例如,如果您为ASP.NET v4.0池权限授予应用程序池身份,那么您可以通过 Explorer 执行此操作:

在此处输入图像描述

单击“检查名称”按钮:

在此处输入图像描述

或者您可以使用该ICACLS.EXE实用程序执行此操作:

icacls c:\wwwroot\mysite /grant "IIS AppPool\ASP.NET v4.0":(CI)(OI)(M)

这主要取自IIS/ASP.NET 的所有用户帐户是什么,它们有何不同?,因此请查看完整答案,但本节与您相关。

于 2013-07-18T14:04:59.663 回答