开发者

Accessing office component from iis giving com error, windows 7

开发者 https://www.devze.com 2023-01-25 20:56 出处:网络
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_AC

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

i am getting this error when trying to access the Word Application from IIS, but not ge开发者_运维问答tting any exception when running from Visual Studio.

Thanks in advance.


My best guess is that the user IIS is running under don't have the rights to read that registry key.

Try reading this thread (AFAIK office is not intended to be called from server side code)

Best

Adriano

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号