Sunteți pe pagina 1din 2

Error ORA-12514 when trying to connect. 16.02.

06 at 13:25:15
Error ORA-12514 when trying to connect.

SQL*XL user John from the USA asked the following question. Question: Hello, we upgraded one of our servers to Oracle 10g. I installed the Oracle 10g client on my laptop. I now have both the Oralce 8.0.5 & Oracle 10.g clients on my machine. SQL XL has stopped working. When I use SQL*XL to connect from Excel to a database (either 8.05 or 10g) I get: Oracle Connection Error received : Unable to make conection, ORA-12514: TNS:listerner does not currently know of service requested in connect descriptor. Why not give SQL*XL a try today. SQL*XL: SQL Excel software

Download SQL*XL now! Answer: This is a TNS problem. Possibly your new database has a different listener. The configuration of your TNS name / Database alias may not be correct anymore. You can fix this by making a new database alias or TNS name using the Oracle configuration utilities on your PC. You can also try to edit the tnsnames.ora file on your PC if you know what you are doing. The following command may also be of help. Do Start -> Run : TNSPING <<service name>> With service_name I mean the name of your database, the name you defined in your tnsnames.ora as the alias for your database. Further, I found the following general description for your error message: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.

Action: - Wait a moment and try to connect a second time. - Check which services are currently known by the listener by executing: lsnrctl services <listener name> - Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener. - If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener. - Check for an event in the listener.log file. References: SQL*XL: Excel to database bridge http://www.oraxcel.com/projects/sqlxl Other database connection topics http://www.oraxcel.com/cgi-bin/yabb2/YaBB.pl?board=sqlxl_connect Connecting Excel to various database types: http://www.oraxcel.com/projects/sqlxl/help/techniques/connecting/index.html Back to top

S-ar putea să vă placă și