Home » Infrastructure » Windows » unable to connect .net with oracle
unable to connect .net with oracle [message #175939] Tue, 06 June 2006 03:01 Go to next message
shary
Messages: 15
Registered: May 2006
Location: KUWAIT
Junior Member

hello
i am just facing a problem if any one can help me i m trying to connect visual studio 2005 with oracle 10g. so visual studio .net is giving an error tnslistner cannot resolve the service name but tns listner service is running and the name of the database is orcl. please can any one help me out in this matter.
take care
shary
Re: unable to connect .net with oracle [message #175977 is a reply to message #175939] Tue, 06 June 2006 04:41 Go to previous messageGo to next message
orausern
Messages: 826
Registered: December 2005
Senior Member
can u connect using sqlplus ? what is the output of tnsping?
Re: unable to connect .net with oracle [message #176016 is a reply to message #175977] Tue, 06 June 2006 06:55 Go to previous messageGo to next message
shary
Messages: 15
Registered: May 2006
Location: KUWAIT
Junior Member

hi
yes i am connecting with sql every thing is working fine but when i try to connect with visual studio .net its giving an error tns listen unable to resolve service name so please can u check it out.
take care
shary
Re: unable to connect .net with oracle [message #176017 is a reply to message #176016] Tue, 06 June 2006 06:59 Go to previous message
orausern
Messages: 826
Registered: December 2005
Senior Member
how are u specifiying the connection to oracle in .net? is it same as in listener.ora file? pl. post the listener.ora file as well as the way u have put the connection in .net.
Previous Topic: MSDTC and XA
Next Topic: error when install 9i on WS2000
Goto Forum:
  


Current Time: Thu Oct 21 16:06:51 CDT 2021