I need to make a linked server on a SQL Server instance to get data from Oracle, but I'm finding it difficult.
I set up ODBC Oracle and the connection test succeeds, but when I try to create the linked server in SQL Server, the below message occurs.
The user of the Agent service and MSSQLSERVER is LocalSystem
Can not initialize the data source object of OLE DB provider "MSDASQL" for linked server "10.40.22.7". OLE DB provider "MSDASQL" for linked server "10.40.22.7" returned message "The specified driver could not be loaded due to system error 1114: A dynamic link library (DLL) initialization routine failed. (Oracle in OraClient12Home1, G: \ app \ client \ adm_bds \ product \ 12.1.0 \ client_1 \ SQORA32.DLL). " (Microsoft SQL Server, Error: 7303)
The file in the briefed folder exists.
PATHenvironment variable all folders with Oracle system components. Probably MS SQL server is unable to find a dll dependency upon initialization process.