This is the ConnectionStrings.com string of ODP.NET, great, but what is Data Source?
Data Source=TORCL;User Id=someUser;Password=son28dnn;
Is it a DSN in Control Panel?
A server name?
A TNS names service name?
Thanks
Luke
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using ODP.NET with TNS which is nothing but one of the adapter for connecting to the oracle database.The file for maintaining the TNS Entries is Tnsnames.Ora
A Sample entry in tnsnames.ora(path for the file is normally ORACLE_HOME\NETWORK\ADMIN)sample entry looks like the below
Here TORCL is an alias for the Data source
,MyHost is your Database server name or Ip Address,Port is the database listener port and MyOracleSID is your Oracle Service
Hence
is same as