发布到服务器后,WORD组件无法使用,报80070005 拒绝访问错误。
发布到服务器是server 2008后,运行程序报错。
Server Error in '/' Application.
--------------------------------------------------------------------------------
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 拒绝访问。 (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
查了很多资料,找到的解决办法都失败了。
1、2008使用组件服务找不到WORD组件。
使用MMC -32,结果服务器报错:管理控制台 已停止工作。
错误代码:
问题签名:
问题事件名称: APPCRASH
应用程序名: mmc.exe
应用程序版本: 6.0.6001.18000
应用程序时间戳: 47918d09
故障模块名称: StackHash_eec5
故障模块版本: 6.0.6001.18000
故障模块时间戳: 4791a783
异常代码: c0000374
异常偏移量: 000aada3
OS 版本: 6.0.6001.2.1.0.274.10
区域设置 ID: 2052
其他信息 1: eec5
其他信息 2: 7d644b938bad2839b8320bc9c13a0967
其他信息 3: 3c46
其他信息 4: 730de625e14c6438a763de83ed20b8da
由于服务器是客户的,而且上面跑了很多系统,所以我无法重装服务器.
2、使用<identity impersonate="true" userName="administrator" password="xxxx"/>之后,代码依旧报错。
报错1:
此方法或属性无效,因为 文档窗口处于非活动状态。
或者报错2:
Object reference not set to an instance of an object.
这些问题在本地是不存在的。所以不是代码问题。请帮忙看一下,非常感谢。