Retrieving the COM class factory Exception Error

0

I have the below error when trying to generate a word document.

System.TypeInitializationException: The type initializer for 'XXXX.XXX.MSWordService.MSWordService' threw an exception. ---> System.UnauthorizedAccessException: 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)).

This web application runs on a service account and I'm not sure which directory to be given permission.

How to fix this?

.net
asked on Stack Overflow Feb 7, 2018 by Arun Muthukumar • edited Feb 7, 2018 by James Z

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0