Hi I am facing a problem.
In my server, there is no office installed. However, I need to access data from excel file.
I used Microsoft.Office.Interop.Excel dll file. I am under the impression that this will work
because the dll location is
C:\Program Files\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office12\Microsoft.Office.Interop.Excel.dll
The same is available in the server machine also. But it does not have office installed there
But when I ran the program I got the exception
System Exception:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.
Googling does not provide much support.
Also, it is very urgent.
Kindly help.