troubleshooting Question

Read an excel file 2003 and later without having Excel installed

Avatar of Kranarna
Kranarna asked on
.NET ProgrammingMicrosoft DevelopmentEditors IDEs
9 Comments1 Solution1065 ViewsLast Modified:
How can i read a excel file 2003 or later without having excel installed on my computer.

I have first used Microsoft.Office.Interop.Excel.dll and it work fine on my computer. Then when i moved the webapp to the server I got the message:

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

I google for this and found the answer that to use Microsoft.Office.Interop.Excel.dll  you must have Excel installed on your computer. That is not an option for me so is there any other way to do this?

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros