The OLE DB provider “Microsoft.Jet.OLEDB.4.0” has not been registered.

Depending on your OS you could run odbcad32.exe on your SQL Server to bring up the Data Sources screen where you should be able to confirm what ODBC providers the server has installed (or not installed), as the case may be.


If you’re using 64bit, then this error most likely results from the fact 64-bit SQL Server cannot use Jet, as there is no 64-bit OLEDB provider for Jet.


I came across a possible word-around, which could be to execute the following script in MSSMS, and then restart the MSSQLSERVER service:

EXEC
sp_configure ‘show advanced options’, 1;
GO
RECONFIGURE
;
GO
EXEC
sp_configure ‘Ad Hoc Distributed Queries’, 1
GO
RECONFIGURE
;
GO

 

Additional help can be found on this .Net forum: http://www.sqlservercentral.com/forums/Topic445277-149-1.aspx

Advertisements