WEB客户端在可以访问datamonitor页面,但是其中Published Reports和Excel Workbooks两项不能正常访问,提示Retrieving the COM class factory for component with CLSID {E28F01BA-B273-4558-8231-22E8C32112F6} failed due to the following error: 80070005.
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: Retrieving the COM class factory for component with CLSID {E28F01BA-B273-4558-8231-22E8C32112F6} failed due to the following error: 80070005.
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) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in 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.
请问各位大侠怎样解决???
问题补充:
我在本机测试也是出现同样的错误,不知是否需要配置DCOM,我在网上看到说可能是ISS配置的问题,不知是否与ISS有关???
最佳答案
楼主描述的现象应该就是IIS的错误提示,建议不要使用一键安装或Ghost之类的操作系统(缺少一些Windows组件和服务)。
本人以前碰到过类似的错误,是软件兼容性的问题,建立楼主检查兼容性,尤其是Web?Navigator和WinCC以及操作系统的兼容性,如果有,升级DataMonitor的到最新的Service?Pack。
提问者对于答案的评价:
谢谢,虽然通过你说的没有解决,但是还是给了我很多提示,最后,我在组件服务中,有一项是REPORTSCHEDULE服务,将everyone用户添加到“安全”项中,问题解决了。
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc271572.html