尝试加载Orchard CMS网站时出现以下.NET错误:
Access to the path '\\.........\www\App_Data\Dependencies\Lucene.dll' is denied.
Exception Details: System.UnauthorizedAccessException: Access to the path '\\WDP\DFS\30\7\4\5\3024678547\user\sites\5481517.site\www\App_Data\Dependencies\Lucene.dll' 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.
我如何实际授予访问权限?我用google搜索,发现我应该进入服务器并右键单击该目录并编辑属性。但是,我正处于共享主机方案中,并且我认为我无法做到这一点。
我几乎走到了死胡同?
我尝试的事情:
通过FTP设置文件权限,但我得到了:
500 'SITE CHMOD 777...command not understood
我已经下载并安装了IIS管理器并成功连接到我的网站,但仍未找到任何设置权限的选项。
我也称之为网络解决方案,但我被告知只是尝试进行文件权限设置(如上所述)。
提前致谢。