locked
Retrieving the COM class factory for component with CLSID {..} error: 80070005. RRS feed

  • Question

  • User1842677501 posted

    Dear friends,

    I am developing an application in ASP.NET 3.5.

    I am exporting data to Excel file using Microsoft.Office.Interop.Excel.dll. Earlier I have developed the application in Windows 2008 Server R2 Standard edition; at that time I could able to export the data to Excel file. But recently I have move Windows 2008 Server R2 enterprise edition that there is show this error.

    "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005."

    And it's working fine in my local host. How can I solve this problem? If anybody knows this solution kindly support me...

    Thanks and regards,

    Parthiban K

    Wednesday, August 6, 2014 3:30 AM

Answers

All replies

  • User-1360095595 posted

    I'm sure you can google that error message and number (maybe you have already).

    I'm guessing you need to make sure you have the interop installed on the new server, and it needs to be the right version.

    Wednesday, August 6, 2014 3:39 AM
  • User1842677501 posted

    First of all thanks for your kind response and how can i install interop in my Server?

    Thanks and regards,

    Parthiban K

    Wednesday, August 6, 2014 4:59 AM
  • User1842677501 posted

    I found the problem and following by the link....

    http://waheedrous.wordpress.com/2014/01/26/error-office-interop-assemblies/

    Hope it'll working fine.... Smile

    Thanks and regards,

    Parthiban K

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 7, 2014 2:56 AM