我收到以下错误:
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但仍然收到错误。我需要添加哪个用户?
答案 0 :(得分:1)
尝试IIS APPPOOL [apppoolname_without_spaces] 在IIS7中,您的所有apppool都在AppPoolIdentity下工作。例如,默认应用程序池将具有用户IIS APPPOOL \ DefaultAppPool。