Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hello friends,
 
i have one small problem which i have not solve out.
i have create one import facility in c#.net 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 19:57pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Hello,
 
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
  Permalink  
Comments
pradiprenushe at 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
good
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.
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 30 Nov 2012
Copyright © CodeProject, 1999-2014
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