ORA-12505 [modified]
-
i am getting the following problem when connecting to oracle using OracleClient in C# ASP.NET 1.1: ORA-12505: TNS:listener could not resolve SID given in connect descriptor I am using this in connection stirng with proper user and password: Data Source=ABC;User ID={0};Password={1};Unicode=true where ABC is the Database added in Management Console (only client is installed on the computer), i can connect to this database using Console and also by creating dsn. Can anyone figure out the problem, as my program is running on many other pcs correctly. -- modified at 7:06 Tuesday 10th July, 2007 Regards Shajeel
-
i am getting the following problem when connecting to oracle using OracleClient in C# ASP.NET 1.1: ORA-12505: TNS:listener could not resolve SID given in connect descriptor I am using this in connection stirng with proper user and password: Data Source=ABC;User ID={0};Password={1};Unicode=true where ABC is the Database added in Management Console (only client is installed on the computer), i can connect to this database using Console and also by creating dsn. Can anyone figure out the problem, as my program is running on many other pcs correctly. -- modified at 7:06 Tuesday 10th July, 2007 Regards Shajeel
Did you configure the "tnsnames.ora" file on your PC? This may help: http://www.codeproject.com/vbscript/connection_string.asp[^]
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message".
-
Did you configure the "tnsnames.ora" file on your PC? This may help: http://www.codeproject.com/vbscript/connection_string.asp[^]
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message".