Cannot get ODBC data source to talk to Oracle 10g for Windows
409686Sep 6 2010 — edited Sep 9 2010Problem description
I recently installed Oracle 10g on my laptop computer, which is running Windows 7. Everything went smoothly except for one crucial item: The ODBC data source I added keeps returning this error when I click the "Test Connection" button:
Testing Connection
Unable to connect
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
I was using the following ODBC driver
Oracle in OraDb10g_home1 (TNS Service Name = ORCL and User ID = scott)
This type of error happened, in one form or another for the three other Oracle drivers I have on my machine
Microsoft ODBC for Oracle
WinSQL Oracle
WinSQL Oracle Wire Protocol
These services are currently running (status = Started)
OractDBConsoleorcl
OracleMTSRecoveryService
OracleOraDb10g_home1iSQL*Plus
OracleOraDb10g_home1TNSListener
OracleServiceORCL
(NOTE: I entered the foregoing information by hand, since I was not able to copy-and-paste it. So be aware that there is a small possibility of a minor typo in case you plan to cut-and-paste it.)
If requested, I can provide the contents of these files
tnsnames.ora
sqlnet.ora
listener.ora
Other installations on the same computer
ODAC (ADO data provider for Oracle)
SQL Server 2009 Express
.NET 4
Visual Studio 2010
Any help would be greatly appreciated!