Hey... found this:
[Connect to Oracle withOUT tnsnames ora - creates a connection string with the contents of the ora file in the conn str)
SERVER=(DESCRIPTION=(ADDRE
<otherwise>
Connect to Oracle using ODBC
1) Install Oracle client
2) Configure TNS Names to connect to Oracle database through oracle client - test connection here
3) Go to start> settings> control panel> administrator tools> ODBC connections - add a new ODBC connection using oracle driver - test here
4) Using .Net create a connection string that uses the ODBC connection that you just created
http://www.connectionstrin
Driver={Microsoft ODBC for Oracle};Server=myServerAdd
Main Topics
Browse All Topics





by: _TAD_Posted on 2007-07-10 at 11:50:45ID: 19456646
If you are going to connect to Oracle you *MUST* have a TNSNames.ora file set up and configured. This is always a requirement.
The reason this works with MS Access so easily is because Windows provides all of the drivers and connections by default. When it comes to Oracle, you have to make sure the tns-names are set up manually.