Home » SQL & PL/SQL » Client Tools » Not able to login PL/SQL Developer ( Error ORA-12154:) (PL/SQL Developer 7.0.3.1123)
Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571108] Wed, 21 November 2012 03:09 Go to next message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member
Hi All,

I'm not able to login to PL/SQL Developer 7.0.3.1123.
I'm receiving "ORA-12154: TNS: could not resolve the connect identifier specified" error. Although it lists all TNS entries in Database drop down.

It was working fine last week but now I'm not able to login.

Please suggest what could be the issue.

Thanks & Regards
Manoj
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571109 is a reply to message #571108] Wed, 21 November 2012 03:12 Go to previous messageGo to next message
Littlefoot
Messages: 18828
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What changed since last week?
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571110 is a reply to message #571109] Wed, 21 November 2012 03:15 Go to previous messageGo to next message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member
Hi,

In installed Brio software for SQR. Now I've UnInstalled this but PL/SQL Developer still giving me same error.
Even I've UnInstalled and the Installed PL/SQL Developer 2-3 times but issue remains the same.

One reason of coming this error is if PL/SQL Developer is installed in "C:\Program Files (x86)" It must be installed in "C:\Program Files" which is correct in my case.

I'm using Windows 7 64 Bit OS.

Please suggest

Thanks & Regards
Manoj
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571111 is a reply to message #571110] Wed, 21 November 2012 03:20 Go to previous messageGo to next message
Michel Cadot
Messages: 57612
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
ORA-12154: TNS:could not resolve the connect identifier specified
 *Cause:  A connection to a database or other service was requested using
 a connect identifier, and the connect identifier specified could not
 be resolved into a connect descriptor using one of the naming methods
 configured. For example, if the type of connect identifier used was a
 net service name then the net service name could not be found in a
 naming method repository, or the repository could not be
 located or reached.
 *Action:
   - If you are using local naming (TNSNAMES.ORA file):
      - Make sure that "TNSNAMES" is listed as one of the values of the
        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA)
      - Verify that a TNSNAMES.ORA file exists and is in the proper
        directory and is accessible.
      - Check that the net service name used as the connect identifier
        exists in the TNSNAMES.ORA file.
      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
        file.  Look for unmatched parentheses or stray characters. Errors
        in a TNSNAMES.ORA file may make it unusable.
   - If you are using directory naming:
      - Verify that "LDAP" is listed as one of the values of the
        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA).
      - Verify that the LDAP directory server is up and that it is
        accessible.
      - Verify that the net service name or database name used as the
        connect identifier is configured in the directory.
      - Verify that the default context being used is correct by
        specifying a fully qualified net service name or a full LDAP DN
        as the connect identifier
   - If you are using easy connect naming:
      - Verify that "EZCONNECT" is listed as one of the values of the
        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
        (SQLNET.ORA).
      - Make sure the host, port and service name specified
        are correct.
      - Try enclosing the connect identifier in quote marks.

   See the Oracle Net Services Administrators Guide or the Oracle
   operating system specific guide for more information on naming.

Regards
Michel
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571112 is a reply to message #571111] Wed, 21 November 2012 03:26 Go to previous messageGo to next message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member

I was able to connect last week. I can ping my tns entries in TNSNAMES.ORA

moreover TNSNAMES.ORA has not been touched from last week.
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571113 is a reply to message #571110] Wed, 21 November 2012 03:28 Go to previous messageGo to next message
Littlefoot
Messages: 18828
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Manoj.Gupta.91 wrote on Wed, 21 November 2012 10:15
PL/SQL Developer is installed in "C:\Program Files (x86)" It must be installed in "C:\Program Files" which is correct in my case.


That would be correct if (your) PL/SQL Developer is a 64-bit application. Is it?

(Though, I'm quite sure that this doesn't cause your problems).

Would TNS_ADMIN do any good?

[Updated on: Wed, 21 November 2012 03:29]

Report message to a moderator

Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571117 is a reply to message #571113] Wed, 21 November 2012 04:01 Go to previous messageGo to next message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member


TNS_ADMIN does not help as I've only one ORACLE_HOME

Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571126 is a reply to message #571117] Wed, 21 November 2012 06:16 Go to previous messageGo to next message
cookiemonster
Messages: 10573
Registered: September 2008
Location: Rainy Manchester
Senior Member
Have you tried setting it anyway?
If your tnsnames is correct then presumably pl/sql developer isn't using it.
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571132 is a reply to message #571126] Wed, 21 November 2012 06:48 Go to previous messageGo to next message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member
Yes, I tried after setting this environment variable. But the issue remsins the same
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571136 is a reply to message #571132] Wed, 21 November 2012 07:30 Go to previous messageGo to next message
cookiemonster
Messages: 10573
Registered: September 2008
Location: Rainy Manchester
Senior Member
And does tnsping work?
Does sqlplus work?
Re: Not able to login PL/SQL Developer ( Error ORA-12154:) [message #571139 is a reply to message #571136] Wed, 21 November 2012 07:54 Go to previous message
Manoj.Gupta.91
Messages: 186
Registered: March 2008
Location: Delhi
Senior Member
Both of them works fine.
Previous Topic: checking users execute previlege on ALIAS LIBRARY
Next Topic: Not able to see euro symbol in pl/sql developer on windows 7
Goto Forum:
  


Current Time: Sat Apr 19 04:45:01 CDT 2014

Total time taken to generate the page: 0.07404 seconds