Click here to Skip to main content
15,904,346 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am using OLEDB connection for excel connection in asp.net.
when the code is executing it giving me the error that
Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine


how to solve this problem ?

please help.
Posted
Updated 20-Oct-11 1:17am
v2

 
Share this answer
 
Comments
Yogesh Pednekar 20-Oct-11 7:09am    
windows 7
it's running fine on localhost but when i precompile it and access it from iis then it's giving the error.
Prerak Patel 20-Oct-11 7:23am    
Have you checked the links? Is it x86 or x64? Check the second answer in MSDN link.
Hello,

the obvious guess is that your your server is 64bit,
I've got the same problem yesterday, here's how i got the Jet drivers running on a 64bit machine:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

hope this helps
 
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