HI,
I have developed web app to create word document and save it in inetpub\webapp\doc\doc1.docx.Currently in my system deployed a code.
In dcomconfig ==>identity =>specific user .It works.
Bit i want to implement Impersonation in code behind as per requirement.
C# impersonation is working fine.means able to see the document process in the name of that user.
BUt Application objApp=new Application();;
Error:
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).StackTrace