S
Sheila
Hi,
My application running on production server is throwing this exception:
Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following
error:80040154.
while executing this code in C#:
Excel.Application excelApp = new Excel.ApplicationClass();
It works ok in my workstation, I have Microsoft Office 2003 installed and is
running as Administrator. But the production server has no MS Excel 2003
installed.
So my question is is Excel 2003 or 2007 must be installed to run the code.
Can I just copy the dll Microsoft.Office.Interop.Excel.dll on the server?
what else needs to be configured?
Thanks in advance.
My application running on production server is throwing this exception:
Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following
error:80040154.
while executing this code in C#:
Excel.Application excelApp = new Excel.ApplicationClass();
It works ok in my workstation, I have Microsoft Office 2003 installed and is
running as Administrator. But the production server has no MS Excel 2003
installed.
So my question is is Excel 2003 or 2007 must be installed to run the code.
Can I just copy the dll Microsoft.Office.Interop.Excel.dll on the server?
what else needs to be configured?
Thanks in advance.