访问被拒绝的路径“” [英] Access to the path denied ""

查看:93
本文介绍了访问被拒绝的路径“”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Access to the path 'D:\INETPUB\VHOSTS\abe\httpdocs\uploads\101 (2).jpg' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'D:\INETPUB\VHOSTS\zoomproperty.in\httpdocs\uploads\101 (2).jpg' is denied.

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 and IIS 7, and the configured application pool identity on IIS 7.5) 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) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

推荐答案

在弹出的错误消息中,您可以看到错误详细信息(未经授权的访问)以及解决方案(提供访问权限)。



PS:你有没有尝试过建议并且无法正常工作?
In the error message that is popup you can see the error details (Unauthorized Access) and also the solution (to give access rights).

PS: So did you tried like is suggested and is not working?


域名权限iis_user检查我的问题解决
domain permission iis_user to checked my problems solve


域权限iis_user检查我的问题解决
domain permission iis_user to checked my problems solve


这篇关于访问被拒绝的路径“”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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