Asp.net IIS 7授予文件夹访问权限
我得到以下错误:Asp.net IIS 7授予文件夹访问权限,asp.net,.net,iis,iis-7,permissions,Asp.net,.net,Iis,Iis 7,Permissions,我得到以下错误: 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
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.
ASP.NET无权访问请求的资源。考虑授予访问权限
ASP.NET请求标识的资源权限。ASP.NET有一个基本进程
使用的标识(通常是IIS 5上的{MACHINE}\ASPNET或IIS 6上的网络服务)
如果应用程序不是模拟的。如果应用程序正在通过模拟
,身份将是匿名用户(通常为
IUSR_MACHINENAME)或已验证的请求用户。
我读到IIS 7中没有ASPNET用户。我还添加了[Machine name]\IIS\u IUSRS,但仍然得到错误。我需要添加哪个用户?尝试IIS APPPOOL[apppoolname\u不带空格]。
在IIS7中,所有apppool都在AppPoolIdentity下工作。例如,默认应用程序池将有用户IIS APPPOOL\DefaultAppPool。它说它在网络服务下运行,我也给了它完全控制权,我也给了每个人完全控制权(用于测试),但仍然得到错误。我需要重新启动池吗?嗯,您可以尝试转到高级应用池设置并检查Load user profile是否设置为true吗?我记得在未打开此功能的情况下,证书私钥访问出现错误。在应用程序池下,它显示“我的网站(WebVTS)有0个应用程序”,但这是为什么?您可以检查应用程序运行的应用程序池吗?DefaultAppPool-我尝试将其设置为应用程序,但是现在我看到了这个错误:服务器被配置为使用内置帐户的直通身份验证来访问指定的物理路径。但是,IIS管理器无法验证内置帐户是否具有访问权限。确保应用程序池标识具有对物理路径的读取权限。如果此服务器已加入域,且应用程序池标识为NetworkService或LocalSystem,请验证\$是否具有对物理路径的读取权限。然后再次测试这些设置。