July 4, 2012 08:47 by
Scott
Sometimes you will receive this error message on Windows Server 2008:
The ‘Microsoft.Jet.OLEDB.4.0′ provider is not registered on the local machine
As you know, this is just simple problem. IIS on Windows Server 2008 was running its application pool in 64 bit mode. There are no 64 bit Jet drivers. Simply changing the application pool to run in 32 bit mode enables support for the 32 bit Jet drivers.
To do this right click on the target application pool in IIS, select Advanced Settings and change Enable 32-Bit Applications to True.
If you want to check that you have the latest version of the Jet drivers goto c:\Windows\SysWOW64, right click on the Msjet40.dll file, select the details tab and view the version number. At the time of writing the latest version was 4.0.9704.0. You can view more details on this process at http://support.microsoft.com/kb/239114.
Hope it help!