dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

ORA:12541 - TNS:No listener - Oracle Errors

This is a discussion on ORA:12541 - TNS:No listener - Oracle Errors ; Hi, I am developing a small tool using Visual c#2005 which is used to get the Oracle Schema version. When I tested it in my machine it works fine. When my boss tested the same in his machine it brings ...


Home > Database Forum > Oracle Database > Oracle Errors > ORA:12541 - TNS:No listener

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 08-08-2009, 04:37 AM
Database Newbie
 
Join Date: Aug 2009
Posts: 1
karthizen is on a distinguished road
Default ORA:12541 - TNS:No listener

Hi,

I am developing a small tool using Visual c#2005 which is used to get the Oracle Schema version. When I tested it in my machine it works fine. When my boss tested the same in his machine it brings out the message TNS-NO LISTENER. He says listener is running in his machine & says the problem is in the code (He is an Oracle DBA and a well experienced person). The code is just a few lines & I think there is nothing wrong in it. I don't know how to solve this problem. I have tested it in my machine at home, it works good there also.

I am a novice when it comes to Oracle & wondering where the problem could be. Please find below the connection strings I have used so far, all the below mentioned connection strings are working fine for my machine but not for my boss.

1) sconncectin = "Server = Servername; Uid = username; password = password";

2) sconncectin = "provider=MSDAORA;data source=TEST;user id=demo;password=demo123";

3)sconncectin = "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOC OL=TCP)(HOST=MYHOSTNAME)(PORT=1251)))(CONNECT_DATA =(SERVER=DEDICATED)(SERVICE_NAME=TEST)));User Id=demo;Password=demo123;";

My boss says the connection method itself is wrong and said not to worry about port, host etc since TNSNAMES is available !!

Wondering how to fix this issue?

Can someone help me out??????

Regards,
Karthizen
Reply With Quote
  #2  
Old 09-07-2009, 03:24 AM
administrator's Avatar
Administrator
 
Join Date: Apr 2006
Posts: 19
administrator has disabled reputation
Default Re: ORA:12541 - TNS:No listener

Refer to this document about ORA-12541..

http://dbaspot.com/ora-12541-tns-no-listener-1025.html
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
ORA-12541: TNS:no listener Database Administrator Oracle Server 20 10-08-2004 03:50 PM
ora12541: tns no listener Database Administrator Database Discussions 63 05-14-2004 06:18 PM
ora12541: tns no listener Database Administrator Oracle Server 0 05-14-2004 11:17 AM
ORA-12541: TNS:no listener Database Administrator Oracle Server 16 10-30-2003 04:04 PM


All times are GMT -4. The time now is 03:55 PM.