Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello All,

I have some big excel files (XLS and XLSX files approximately 250 megabytes each) which I want to read in my .NET windows applications. I have tried OLEDB uing both ACE and JET database providers. Both of them give "Driver Error" as soon as I call Open() method of connection. ACE driver fails to do the job.

I don't want to use Excel Inter-op as end user's machine don't have Office installed and I can't use any third party paid components. I tried free components like OpenXML reader and other alternates but they fail.

Kindly suggest me some solution ASAP. Thanks in advance for help. :)
Posted
Comments
Richard Deeming 8-Aug-14 9:39am    
Have you tried NPOI[^]?
Richard MacCutchan 8-Aug-14 12:50pm    
Perhaps you should try to find out why it gives a driver error.
[no name] 8-Aug-14 14:03pm    
It's hard to believe that everything you try "fails" when hundreds and thousands of other people are successful doing exactly this. I used OLEDB just 3 days ago in an application to read an Excel file with no trouble at all.

1 solution

250Mb will be a problem with MS Excel also, try creating smaller files.

Also try this component : http://epplus.codeplex.com/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900