简体   繁体   English

IIS 7.5 ASP.NET:拒绝访问路径

[英]IIS 7.5 ASP.NET: Access to path is Denied

I have gone through several forums to help solve this issue and it seems the solution is granting full control to DefaultAppPool Identity but unfortunately its not working on my end.我已经通过几个论坛来帮助解决这个问题,似乎该解决方案正在授予对 DefaultAppPool Identity 的完全控制权,但不幸的是它对我不起作用。 I am testing the application in my local machine(Windows 7) and the application uses windows authentication and the application is not using any impersonation in web.config file.我正在我的本地机器(Windows 7)上测试应用程序,该应用程序使用 Windows 身份验证,并且该应用程序未在 web.config 文件中使用任何模拟。

This is what I have done following other possible solutions online: Granted full access to: DefaultAppPool,Network Service, IUSR, ASP.NET v4.0这就是我在其他可能的在线解决方案之后所做的:授予对:DefaultAppPool、网络服务、IUSR、ASP.NET v4.0 的完全访问权限

Below is the error I get even after granting necessary access:以下是即使在授予必要的访问权限后我也得到的错误:

在此处输入图片说明

Any suggestions as to how to go about fixing this?关于如何解决这个问题的任何建议? thanks!谢谢!

i Solved the problem Selecting in IIS Authentication Module and setting the application pool identity in the anonymous Authentication like in the picture我解决了在IIS身份验证模块中选择并在匿名身份验证中设置应用程序池标识的问题,如图

认证模块

The security settings for the folder "TestRelease" may have some values that are preventing you from reading files in that folder.文件夹“TestRelease”的安全设置可能有一些值阻止​​您读取该文件夹中的文件。 Go to your C:/ and right click the TestRelease folder, then go to Properties.转到您的 C:/ 并右键单击 TestRelease 文件夹,然后转到属性。 Navigate to the Security tab and check to see if any of the Permissions are set to Deny or if somehow the Read permission is not set to Allow.导航到安全选项卡并检查是否有任何权限设置为拒绝,或者读取权限是否未设置为允许。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM