none
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 RRS feed

  • Question

  • I have a asp.net application  that try to open a ms word document.  And I get this error.  Ms office 2010 is installed on the windows 2008r2 server.  I try to give the permission with the dcomcnfg to network service but it doesn't work.

    Do you have any idea?

    Thanks

    Monday, December 23, 2013 9:15 PM

Answers

  • Hello,

    Sever side automation is not supported and not recommended. Please take a look at the Considerations for server-side Automation of Office article. It states:

    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

    Instead, you can use Open XML SDK to open/edit/create documents instead. You can download it here.

    Tuesday, December 24, 2013 9:20 AM