Hi ,
I have a website designed by MVC 3.0 and .Net 4.0 , and deployed at windows 2012 .
now I add a new feature to generate the word document dynamic in website using the Microsoft.Office.InterOP.
I have installed a Word 2013 in server , so test by local APP all good.
now if I run from website. I get this 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)).[mmc
tried some solution in google , they said need change the permission level in Dcom config ,
but when I try , I get many issue:
1 , in DCom config , I cannot find "Microsoft Word Document" , the only I can find is "Microsoft Word 2000-2007 Document" with different APPID {00020906-0000-0000-C000-000000000046} ,
I tried to overwrite the APPID and Name in regristry edit , then add the "Network Service" to access list , but it does not works.
any suggestion please?
Gordon