首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >IIS 7授予文件夹访问权限

问IIS 7授予文件夹访问权限
EN

Stack Overflow用户
提问于 2012-07-25 02:47:27
回答 1查看 5.8K关注 0票数 0

我得到以下错误:

代码语言:javascript
复制
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,但仍然收到错误。我需要添加哪个用户?

EN

回答 1

Stack Overflow用户

发布于 2012-07-25 02:57:29

尝试使用IIS APPPOOLapppoolname_without_spaces。

在IIS7中,所有的应用程序池都在AppPoolIdentity下工作。例如,默认应用程序池将具有用户IIS APPPOOL\DefaultAppPool。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11637342

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档