Monday, July 25, 2011

Windows 7 – 64 Bit – The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine.

When attempting to export data from an Access database I encountered the following exception.

System.InvalidOperationException was unhandled
Message="The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
Source="System.Data"

This error came about when I switched from a 32 bit Vista Machine to a new 64 bit Windows 7 machine.

To fix the issue simply change your build options so that the project is compiled to run as 32-bit.

Tq... :)
http://dacosta9.wordpress.com/

No comments:

kunkun-laptop .... ;)