Click here to Skip to main content
15,889,096 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I can't open an Excel spread sheet with .NET on an x64 server using the following connection string:
C#
"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" + filePath + "; Extended Properties=Excel 8.0;"

I get The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine.
How we can solve it? Please help me.

thanks
Posted
Updated 22-Apr-11 6:00am
v2

1 solution

ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= OriginExcelFile Extended Properties=Excel8.0;HDR=Yes;IMEX=1"
 
Share this answer
 
v2

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