Hello Everyone,
I started a new role that requires me to interact with an Oracle DB using Excel. Currently I have both the 32 bit and 64 bit Oracle clients installed on my Windows 7 PC.
Firstly I can TNSPing the database I need to connect to, I can also connect using SQLPlus to the desired database, I can even connect using TOAD.
No matter what I try I cannot connect using Excel VBA (Office 2010 64 bit).
The process below used to work for me in a different location, now the objDatabase always is returned "Empty"
Set objSession = CreateObject("OracleInProcServer.XOraSession")
Set objDataBase = objSession.OpenDatabase("database server", "user name/passsword", 0&)
I am not even able to set up a simple ODBC connection working. I get a error "ORA-12557: TNS:protocol adapter not loadable."
When using a ADODB connection I get this error. Run time error '-2147467259 (80004005)':
[Microsoft][ODBC Driver Manager] Data source name not found and default driver specified.
I have place the TNSNames file in both Oracle Home's
I have even reinstalled Office 2010.