IIS 7授权文件夹的访问 [英] IIS 7 Grant folder access

查看:184
本文介绍了IIS 7授权文件夹的访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:

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用户我也加入了[计算机名] \ IIS_IUSRS,但仍然得到错误。哪些用户,我需要补充的吗?

I have read that there is no ASPNET user in IIS 7. I have also added [Machine name]\IIS_IUSRS but still get the error. Which user do I need to add?

推荐答案

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

Try IIS APPPOOL[apppoolname_without_spaces].
In IIS7 all your apppool work under AppPoolIdentity. For example Default App Pool will have user IIS APPPOOL\DefaultAppPool.

这篇关于IIS 7授权文件夹的访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆