none
Error when creating XLS file on server RRS feed

  • Question

  • We have a silverlight application that is calling a WCF service. This service is using Excel automation to create an XLS file based on values passed to the service.

    The problem we are having is that when we submit the form, we get the below error.

    **************
    Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a The server process could not be started because the configured identity is incorrect. Check the username and password. (Exception from HRESULT: 0x8000401A).  
    **************

    The strange thing is that when I remote into the server that hosts the application, and then run the above process, there are no errors and the XLS is created successfully. When I logoff the server and run the request, I get the errors.

    I did go into DCOMCNFG and add the account we are using in the app pool for this WCF service, but that didn't resolve the issue.

    What can I do to get this service to create the XLS file? 

    Wednesday, October 14, 2015 8:39 PM

Answers