0

我收到以下错误:

ASP.NET is not authorized to access the requested resource. Consider granting access 
rights to the resource to the ASP.NET request identity. ASP.NET has a base process 
identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used   
if the application is not impersonating. If the application is impersonating via 
<identity impersonate="true"/>, the identity will be the anonymous user (typically 
IUSR_MACHINENAME) orthe authenticated request user. 

我读过 IIS 7 中没有 ASPNET 用户。我还添加了 [Machine name]\IIS_IUSRS 但仍然出现错误。我需要添加哪个用户?

4

1 回答 1

1

尝试 IIS APPPOOL[apppoolname_without_spaces]。
在 IIS7 中,您的所有应用程序池都在 AppPoolIdentity 下工作。例如,默认应用程序池将拥有用户 IIS APPPOOL\DefaultAppPool。

于 2012-07-24T18:57:28.923 回答