Home > Beta, Developer, Fixes & Tips, Operating Systems, Software, Windows > FIX: ‘The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine.’ Message for .NET Applications

FIX: ‘The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine.’ Message for .NET Applications

Came across a post on DeveloperFusion today that resonated the same issue we had at work a few days earlier involving JET (no not the band) accessing an Access database in .NET code on Windows x64.

If you find you get a nasty:

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

When you run your .NET Application – and I know this – on your x64 box, its because Microsoft does not support JET on 64bit versions of Windows outside of Windows 2003.

So, what to do? Simple, you need to make sure that the assembly is written targeting ‘x86’ rather than ‘Any CPU’ or ‘x64’ in the Configuration Manager, rebuild the assemblies and you should be good to go 🙂

{lang: 'en-GB'}
Share
  1. Rajender Makhija
    August 28th, 2010 at 21:42 | #1

    This solution Work, Thnaks

  2. July 7th, 2011 at 04:07 | #2

    Really this wa very helpful solution

  3. jeet
    February 23rd, 2012 at 21:52 | #3

    ultimate…….. solution…
    thanks a lot for ths fix….

  4. Kiran
    August 3rd, 2012 at 18:51 | #4

    Thanx a ton i have wasted 2 days
    doing rest other stuffff .,.,
    🙂
    thnxx a Lott

  1. No trackbacks yet.