I am trying to use the provider OraOLEDB.Oracle for SQL Server Management Studio in a Windows Server 2008 R2 Datacenter, 64 bits edition.
What I have done is:
- Installed the 32 and 64 bits version for the provider (ODAC version from Oracles' page) by using the command prompt as administrator:
.\install.bat oledb c:\oracle\odac64 odac64 true
for 64 bits. - Added the the 32 and 64 oracle path to the Environment Variables.
- Restart.
Then the provider is not listed in the Management Studio.
I also created an UDL file, but the file did show up there.
I tried to register them with regsvr32 orasql12.dll
for 64 bits and c:\windows\syswow64\regsvr32.exe orasql12.dll
for 32 bits but I got the following error:
The module "orasql12.dll" failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or depenedent .DLL files.
However, the installer was supposed to register both providers, so I don't think that is the problem.
Any ideas on this?