Click here to Skip to main content
13,042,630 members (79,292 online)
Rate this:
Please Sign up or sign in to vote.
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.
Posted 30-Apr-12 18:57pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100