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 - How to fix it : DBA Scripts :: www.high-oracle.com/scripts
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services
Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.