Advertisement

06.04.2008 at 10:58PM PDT, ID: 23459184
[x]
Attachment Details

Oracle 10g XE connection problem....

Asked by imarshad in Oracle Database, Microsoft Visual Basic.Net, Microsoft Visual C#.Net

Tags: Oracle 10g, XE, ORA-12560, ORA-12154, Windows XP SP2, TNS

Hi all,
         I have just installed Oracle 10g Express Edition on Windows XP SP2 system. Secondly I installed Oracle Developer Tool for Visual Studio .NET i.e ODT 11.1.0.6.20. After installing I can go to the database homepage and can get logged in and every thing is working fine. I can even connect using command line SQL plus .....
The real problem started when I start to develop an application in Visual Studio.NET 2008. I used the tutorial provided in the following link
http://www.oracle.com/technology/pub/articles/cook_dotnet.html
which is pretty straight forward. But now the problem is that I can't connect to the database from my VB2008 application using the source code provided....

So I tried the Server Explorer

When I tried with the settings in 'A' I get ORA-12560: TNS:protocol adapter error
When I tried with settings in 'B' I get (almost after 30 sec.) ORA-12154: TNS: couldnot resolve the connect identifier specified

Now how to resolve this? Which files to configure and how?Start Free Trial
Attachments:
 
Produces ORA-12560: TNS:protocol adapter error
Produces ORA-12560: TNS:protocol adapter error
 
 
ORA-12154: TNS: couldnot resolve the connect identifier specified
ORA-12154: TNS: couldnot resolve the connect identifier specified
 
[+][-]06.04.2008 at 11:29PM PDT, ID: 21716782

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle Database, Microsoft Visual Basic.Net, Microsoft Visual C#.Net
Tags: Oracle 10g, XE, ORA-12560, ORA-12154, Windows XP SP2, TNS
Sign Up Now!
Solution Provided By: schwertner
Participating Experts: 2
Solution Grade: B
 
 
[+][-]06.04.2008 at 11:49PM PDT, ID: 21716853

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.04.2008 at 11:52PM PDT, ID: 21716865

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 01:21AM PDT, ID: 21717226

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 01:43AM PDT, ID: 21717305

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 02:13AM PDT, ID: 21717415

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.05.2008 at 02:18AM PDT, ID: 21717443

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 02:41AM PDT, ID: 21717542

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 03:03AM PDT, ID: 21717681

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 03:44AM PDT, ID: 21717879

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 03:54AM PDT, ID: 21717931

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906