Microsofts OracleConnectionOmiting tnsnames.ora Alternative

Some reported problems with the one above and Visual Studio. Use the next one if you've encountered problems.

Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=MyPort))(CONNECT_DATA=(SERVICE_NAME=MyOracleSID)));
User Id
=myUsername;Password=myPassword;

Connecting

This connection string (Omiting tnsnames.ora Alternative using Microsofts OracleConnection) can be used for connections to Oracle.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.