Hi All,
After not having used SQL Server for a while, I went in today, tried to perform the task of importing Excel via Jet, and I encountered the same error as many users have experienced over the past 12 days of:
“Unexpected error from external database driver (1). (Microsoft JET Database Engine)”
I subsequently downloaded and installed the following:
Microsoft Access Database Engine 2016 Redistributable
AccessDatabaseEngine.exe 12.0.4518.1014 which I gather is for 32 bit
AccessDatabaseEngine_x64.exe 16.0.4519.1000 which I gather is for 64 bit
On my old machine which was 32 bit, I happily used ACE over Jet, and never had any issues.
I am now experiencing the following error messages:
The 'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machineThe 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
When I ran the following query, I got the following results:
EXECUTE MASTER.dbo.xp_enum_oledb_providers
Microsoft.ACE.OLEDB.12.0 | {3BE786A0-0366-4F5C-9434-25CF162E475E} | Microsoft Office 12.0 Access Database Engine OLE DB Provider |
Microsoft.ACE.OLEDB.16.0 | {3BE786A2-0366-4F5C-9434-25CF162E475E} | Microsoft Office 16.0 Access Database Engine OLE DB Provider |
ADsDSOObject | {549365d0-ec26-11cf-8310-00aa00b505db} | OLE DB Provider for Microsoft Directory Services |
Search.CollatorDSO | {9E175B8B-F52A-11D8-B9A5-505054503030} | Microsoft OLE DB Provider for Search |
SSISOLEDB | {AE803C3F-76D3-42EF-A9DC-D90879BDF008} | OLE DB Provider for SQL Server Integration Services |
MSDASQL | {c8b522cb-5cf3-11ce-ade5-00aa0044773d} | Microsoft OLE DB Provider for ODBC Drivers |
MSOLAP | {DBC724B0-DD86-4772-BB5A-FCC6CAB2FC1A} | Microsoft OLE DB Provider for Analysis Services 14.0 |
MSDAOSP | {dfc8bdc0-e378-11d0-9b30-0080c7e9fe95} | Microsoft OLE DB Simple Provider |
SQLOLEDB | {0C7FF16C-38E3-11d0-97AB-00C04FC2AD98} | Microsoft OLE DB Provider for SQL Server |
SQLNCLI11 | {397C2819-8272-4532-AD3A-FB5E43BEAA39} | SQL Server Native Client 11.0 |
I am dumbfounded as to how my version of SQL Server is no longer able to import excel files.
This error message was returned when I tried to recycle a script:
OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked server "(null)" returned message "Unspecified error".Msg 7303, Level 16, State 1, Line 2
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked server "(null)".
Please can someone explain to me, a person of limited knowledge when it comes to system configurations, what has gone wrong. Is there a particular order in which the files should be loaded, so that the OLEDB is registered on the local machine? Are there other files which should have been loaded?
(On a different subject, I am happy to see that as a forum user, my ability to add images and links is now enabled.)