locked
Excel interop - 80080005 error RRS feed

  • Question

  • I work with excel 2003 interop in my asp.net web service. It basically converts the excel to xml so that I can parse the excel spreadsheet.
    Since there is a problem of excel interop cleanup, i create a pool of excel objects and keep them in memory.
    The problem is, intermittently i get the error:
    Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005.
    This does not happen for all requests. It happens randomly. Sometimes after few instatiations it throws up this error for every new excel object i request.
    What could be the reason?
    I have given launch and activation permissions to  aspnet account on excel in dcomcnfg.
    The trouble is this is happening "randomly".
    I don't use impersonation.
    Thursday, December 11, 2008 11:16 AM

Answers