我得到以下错误:
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. 我读到IIS7中没有ASP.NET用户。我也添加了机器name\IIS_IUSRS,但仍然收到错误。我需要添加哪个用户?
发布于 2012-07-25 02:57:29
尝试使用IIS APPPOOLapppoolname_without_spaces。
在IIS7中,所有的应用程序池都在AppPoolIdentity下工作。例如,默认应用程序池将具有用户IIS APPPOOL\DefaultAppPool。
https://stackoverflow.com/questions/11637342
复制相似问题