1

我正在开发文档查看器 Web 应用程序,我使用 Atalasfot 第三方库,库中的“WebImageViewer”控件需要指定他将使用它来获取图像列表的文件夹,所以我在我的应用程序中创建“图像”文件夹我给它完全控制权限,如下面的屏幕截图所示:

在此处输入图像描述

还有 IIS_IUSERS 的权限不会出现在上图中。

当我运行应用程序时,出现以下错误:

   Access to the path 'XXX\Images' 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.

有人可以帮忙吗?

4

1 回答 1

1

我认为问题源于离开'Anonymous Access' checked in IIS,即使使用您为匿名用户提供的用户名/密码。

解决方案:-您需要取消选中anonymous user并使用'Integrated Windows Authentication'

于 2013-10-12T07:38:11.880 回答