Click here to Skip to main content
14,734,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friends,

i have one small problem which i have not solve out.
i have create one import facility in but the problem is when i have publish this in my client's server than one error is occured and the error is

"The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine. (in window server 2003 64 bit)".

any one know how i can solve it than ask me fastly..i have aalready two days west in it.


Are you running your application on x64 or x86 version of Windows?
Also are you the developer that wrote the code for OCR.Form1 class?

If so, I would suggest changing the Platform Target build option for your application to target x86 rather than Any CPU. Currently it appears that you are loading some assemblies out of the x64 GAC which would indicate that you are running x64 windows and Microsoft.Jet.OLEDB.4.0 provider is not 64-bit compatible.

To resolve this issue open the project in Visual Studio then:

1. From the solution explorer right-click your project then click Properties
2. Click the Build tab
3. Change Platform target from: Any CPU to x86
4. Re-build your solution
pradiprenushe 3-Jul-12 6:12am
I was also having same problem in past. I had solved it by same way. 5 from me
Microsoft.Jet.OLEDB.4.0 provider is not compatible with 64-bit machines,

you have 2 solution :
1/ Force iis to run the 32 bit applications : here's how to do it step by step with screenshots The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine

2/ Migrate to a 64-bit compatible OLEDB Jet driver version :
download the Microsoft Access Database Engine 2010 Redistributable 64bits and update the connection string to “Provider=Microsoft.ACE.OLEDB.12.0;”

hope this helps.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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