connect to oracle db computer in a LAN in asp.net -
im trying connect oracle 11g db on lan system in asp.net. im getting ora-12541: tns:no listener
error.
i made following changes in files .....
sqlnet.ora
sqlnet.authentication_services= (beq, tcps, nts) names.directory_path= (tnsnames, ezconnect)
tnsnames.ora
testdb = (description = (address_list = (address = (protocol = tcp)(host = 192.168.1.50)(port = 1521)) ) (connect_data = (server = dedicated) (service_name = testdb) ) ) listener_testdb = (address = (protocol = tcp)(host = localhost)(port = 1521))
listener.ora
listener = (description_list = (description = (address = (protocol = ipc)(key = extproc1521)) ) (description = (address = (protocol = tcp)(host = 192.168.1.50)(port = 1521)) ) )
please let me know how can solve issue....
thanks...
did start listener? on server:
lsnrctl status
: should tell if listener up
lsnrctl start
: should start default listener, assuming there no passwords
edit:
since listener running, lsnrctl status command tell databases it's serving?
- can connect database command line?
- can run tnsping testdb , contact listener?
- when try connect, on server, or different host?
Comments
Post a Comment