Using Oledb to connect to an MS Access DB.
I get the following error when the Open Function of the OleDbConnection class is called
"The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
Using Oledb to connect to an MS Access DB.
I get the following error when the Open Function of the OleDbConnection class is called
"The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine."
I guess your OS 64-bit but Microsoft Jet does not support 64-bit. TO resolve this you need force your application to use the 32 bit change the target CPU to x86 in the advanced compiler options.
Please check out this link for more details.
I had this same problem occur all of a sudden and it wasn't a "Jet" problem as it previously worked, and then stopped working. As it turned out, the application pool that the site was running under had "Enable 32-bit applications" changed to "False". When I changed back to "True", the OleDb error went away.