How to Solve Access is denied problem when using Microsoft interop dll for convert ms word to html in C#


I am using Microsoft.Office.Interop.Word.dll for converting ms word file to HTML file , regard that am create object for Application like Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application(); in that time am getting following Access Denied Error,

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)).

Am tried to solve some of technic like am change access level in DCOMCNFG-> Microsoft Word-> Properties-> Security -> Launch and Activation Permission to IIS user and everyone user and identity settings also am tried but not resolved Access Denied

asked on Stack Overflow Feb 23, 2021 by Santhosh M • edited Feb 23, 2021 by Ramil Aliyev

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0