Hello.
I am getting this error:
"Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."
At this line:
Excel.Application xlApp = new Excel.Application();I am using Visual Studio 2010 on SBS 2008 server.
I do not have Microsoft Excel installed on this SBS 2008 server.
Excel is installed on client computers.
This program is for a Web Application inside SharePoint 2010 that I want perform Excel tasks on the client-side.
Any suggestions on how to correct this error?
Thanks for your help.
Rahul PrasadPosted Jul 23, 2014, 3:33 AM
As Vulpes said, you need to have MS Excel installed on both developer and client machine if you're developing an application with the help of Microsoft.Office.Interop.Excel. If you want to manage Excel file without MS Excel, you need to use any other 3rd-party Excel tool I think.Good luck.
Azam ShaikhPosted Jun 26, 2014, 1:32 AM
VulpesPosted Aug 10, 2011, 9:25 AM