Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine.

Tuesday, October 28, 2008

TechnologyThere are times when the coexistence of 64 and 32 bit code on the same machine can cause all sorts of seemingly strange issues.
One of them just occurred to me while trying to run the ASPx demos from Developer Express, my main provider of .Net components (the best supplier I’ve ever been able to find).
I was getting the following error:

The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine:

Server Error

It may look otherwise, but this error is generally due to either of two thing:

  • you don’t have Office 2007/2010 Jet drivers installed
  • or you are running a 32 bit application in a default x64 environment.

The first issue is easy to solve, just download the Access 2010 Database Engine from Microsoft (works with Access 2007 databases as well).

For the second one, the fix is also easy enough:

  • For Windows 2008: Navigate to Server Manager > Roles > Web Server (IIS) > Internet Information Services (IIS) Manager, then look under your machine name > Application Pool.
  • For Windows 7: Navigate to Programs > Administrative Tools > Internet Information Services (IIS) Manager, then look under your machine name > Application Pool.

Under there you can call the DefaultAppPool’s advanced settings to change Enable 32-Bits Applications to True:

Advanced Settings

You may have to restart the service for it to take effect but it should work.



  • 10DEC2011: Updated driver link to use the Access 2010 engine.
  • 03APR2010: Added instructions for Windows 7
  • 12FEB2009: Added reference to Scott’s article.
  • 28OCT2008: Original version

Entry Filed under  :  .Net,Database,Programming,sysadmin,Web

96 Comments Add your own

  • 1. Sundeep  |  June 1st, 2011 at 3:07 pm

    @ C : Thanks a lot…

    You saved me in fixing the issue.really appreciated your work that you have done here.

    Sundeep G

  • 2. Laura  |  June 30th, 2011 at 9:34 am

    Be sure the the IIS feature is turned on…to do that go to control panel -> turn windows features on or off, then check the internet information services box

  • 3. Mark  |  July 4th, 2011 at 10:57 pm

    Cosma – I’m dtill having the same issue you had in post #38. You mentioned you solved it – how?

    Thanks in advance.

  • 4. mohit  |  July 14th, 2011 at 11:30 am

    I am using window 7 64 bit. . worked for me

  • 5. James  |  August 10th, 2011 at 10:48 pm

    I’m using Windows 2008, did the 2 easy steps and bingo!

    It’s great when you “stumble” upon someone who knows what they’re talking about in just a few clicks.

  • 6. Ryan O'Neill  |  September 16th, 2011 at 8:41 pm

    For those of you who want to keep your 64 bit processes but need access to Excel files you can use

    Apparently it works on 2008 and handles more file formats (XLSX).

    I’d rather do this than depend on the oledb drivers which may disappear at any point in an upgrade/rehost.

  • 7. Kaustubh  |  September 18th, 2011 at 4:22 pm

    haey paul i’m not able to find IIS in servicer and applications tree. plz help me

  • 8. Kaustubh  |  September 18th, 2011 at 4:24 pm

    @renaud plz help me to find out IIS. i’m using windows7 home premium 64bit.

  • 9. AlbertK  |  September 20th, 2011 at 10:59 pm

    Thanks a lot, i have done much research on www before at least i found your solution!

  • 10. Mowrya  |  October 3rd, 2011 at 6:08 pm

    Thanks brother — from India..

  • 11. Matt  |  October 19th, 2011 at 11:14 pm

    Thank You

  • 12. Sandeep  |  November 10th, 2011 at 7:46 pm

    Bingo…. Its done…..

    Now I want to know, is this available for each site separately ?

  • 13. Hasibul  |  November 21st, 2011 at 3:47 pm

    Gr8 post. It helps me very much.

  • 14. bhupendra  |  November 30th, 2011 at 2:17 pm

    thanx a lot it really helpful…:)

  • 15. coderealm  |  December 1st, 2011 at 11:28 am

    Hi dude, you understand this stuff more than microsoft bill gate, they have no idea of user’s problems to support them. You certainly know what you are talking about, well done, keep the open source knowledge going!!!

  • 16. Rick Wannall  |  December 9th, 2011 at 11:57 pm

    I will definitely be posting a link to your solution on my site. This was driving me nuts. I use Access all the time, but had never had to run it on my own server. When I got the error message you refer to, I started browsing around expecting it to be obvious. Lots of false leads and dead ends. Your steps for Windows Server 2008 were the answer. Thank you!!

  • 17. Renaud Bompuis  |  December 10th, 2011 at 12:36 pm

    @Rick Wannall: thanks. I’m always surprised as how much traffic this page still gets after 3 years… :-)

  • 18. Naren  |  December 16th, 2011 at 3:25 pm

    Wow… thanks man……

  • 19. Majida  |  December 28th, 2011 at 11:19 pm

    Hey guys just change the solution platform to x86….from configuration manager.

    Mine started working properly…!

  • 20. Chad  |  January 6th, 2012 at 1:07 am

    Thank you very much!!! Finally I found the solution.

  • 21. Probleme de OLEDB et JET &hellip  |  January 7th, 2012 at 12:35 am

    […]… Posted in News – Tagged HowTo, jet, oledb, Tips, x64 SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail « Teamviewer 7.0.12142 No Comments Yet […]

  • 22. Jim Brook  |  January 25th, 2012 at 9:07 am

    Thank you for supplying this information and explaining it so well. I was just about to give up !

  • 23. Mitra  |  January 31st, 2012 at 5:20 pm

    thanks alot, it really helped! ;)

  • 24. PiTrens  |  April 1st, 2012 at 4:19 pm

    Muchisima Gracias Hermano

  • 25. tom  |  June 1st, 2012 at 9:44 pm

    Many thanks!!! You should be Number one in google search!

  • 26. Isaiah  |  June 4th, 2012 at 1:24 pm

    A great post, searched for the same information for more than two days!!! great work!

  • 27. Mohit  |  August 10th, 2012 at 2:03 pm

    Thanks a lot dude!!! You area genius….

  • 28. Saravanan G  |  August 16th, 2012 at 7:23 pm

    Thanks for your update its working

  • 29. REEMAN  |  August 29th, 2012 at 1:23 pm

    me have Win 7 and it work on 64bit the access On Office 2010 or 2007 that work On 32 bit not transfer data in VB.Net 2008 Forms

    instail with office 2007 32bit : “access 2007 engine 32bit” “access 2007 runtime 32bit “

    instail with office 2010 32bit : “access 2010 engine 32bit” “access 2010 runtime 32bit “

  • 30. Sandra Stowell  |  September 16th, 2012 at 1:13 am

    Navigate to Programs > Administrative Tools > Internet Information Services (IIS) Manager, then look under your machine name > Application Pool

    Does not appear on Windows 7 Home 64bit sp1: no Internet Information Services Manager on the list under Admin Tools.

  • 31. anagha  |  October 10th, 2012 at 10:42 pm

    hi…………i have the same error but i am not getting the option of Internet Information Services (IIS) Manager in my administrative tool…..plzzzzzzzz…help

  • 32. Fred Manceaux  |  November 30th, 2012 at 8:11 pm

    if your are getting HTTP Error 404.2, then you also need to migrate the website from Classic mode to Integrated Pipeline mode and activate the 32 bit .Net framework here’s more details

  • 33. ubendiran  |  December 5th, 2012 at 10:27 pm

    Thanks a lot……..

  • 34. Ndineka  |  December 18th, 2012 at 4:32 am

    well, any day now, my application will be up and running thanks to your help

  • 35. Krunal Rathod  |  January 28th, 2013 at 7:38 pm

    Hi, Reading .xls and .xlsx file was working my local system fine. But same code was showing error on Testing server which is 64 bit. Error: (The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine.)

    So i tried to change the code :

    From : Provider=Microsoft.Jet.OLEDB.4.0; Data Source=” file location”; Extended Properties=Excel 8.0;IMEX=1;HDR=yes

    To: Provider=Microsoft.ACE.OLEDB.12.0;Data Source=file location;Extended Properties=”Excel 12.0;HDR=YES”;

    So used ACE.OLEDB.12.0 for Reading the .xls file.

    Now, it is working fine on local and testing server both.

  • 36. hi  |  February 26th, 2013 at 12:05 am

    thanks veryyyyyyyyyyyyyyyyyyyyyyyyyyyyyy much

  • 37. Mike Irving  |  March 5th, 2013 at 11:00 pm

    Ah, the 32-Bit switch.. very simple solution, working straight away, thank you.

  • 38. risa, jakarta-indonesia  |  March 6th, 2013 at 4:38 pm

    Thanks a lot.

  • 39. Armin Absalan  |  March 11th, 2013 at 11:41 pm


  • 40. Jagmohan Tyagi  |  May 1st, 2013 at 8:56 pm

    Thanks, You Know the exact solution.

  • 41. x64: Problem “The &hellip  |  May 9th, 2013 at 10:27 pm

    […] Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the lo… […]

  • 42. x64平台上 Microsoft.Je&hellip  |  May 9th, 2013 at 10:27 pm

    […] Windows 2008 / Windows 7 x64: The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the lo… […]

  • 43. Helmut  |  June 7th, 2013 at 1:36 pm

    Thanks man! Solved my issue perfectly!

  • 44. Adebayo  |  June 22nd, 2013 at 10:51 pm

    After three days of battle with is problem. I use windows 2008 64bits .I come across this article. The problem is over.

  • 45. Gaurav Ghosh  |  April 16th, 2015 at 12:29 am

    Nice Article Reference . Thanks for Sharing.

  • 46. Anonymous  |  November 13th, 2015 at 10:55 am

    Very good

Leave a Comment

(Will not be shown)

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Renaud This is a simple technical weblog where I dump thoughts and experiences from my computer-related world.
It is mostly focused on software development but I also have wider interests and dabble in architecture, business and system administration.
More About me…

My StackOverflow Profile
My (sporadically active) StackOVerflow account

Most Recent Posts