ORA-01017 Invalid Username/Password when connecting to 11g database from 9i client

前端 未结 15 1826
粉色の甜心
粉色の甜心 2020-11-27 05:17

I\'m trying to connect to a schema on 11g (v11.2.0.1.0) from a PC with 9i (v9.2.0.1) client. It seems to connect fine to some schemas, but not this one - it comes back with

相关标签:
15条回答
  • 2020-11-27 05:35

    I am not an expert. If you are getting ORA-01017 while trying to connect HR schema from SQL Developer in Oracle 11g Please try to unlock the HR as follows

    alter user HR identified by hr DEFAULT tablespace users temporary tablespace temp account unlock;

    0 讨论(0)
  • 2020-11-27 05:42

    I had a similar issue some time ago. You must be careful with quotes and double quotes. It's recommended to reset the user password, using a admin credentials.

    ALTER USER user_name IDENTIFIED BY new_password;
    

    But don't use double quotes in both parameters.

    0 讨论(0)
  • 2020-11-27 05:43

    Credentials may be correct and something else wrong. I based my pluggable DB connection string on its container DB. Instead of the original parent.example.com service name the correct appeared to be pluggable.example.com.

    0 讨论(0)
  • 2020-11-27 05:44

    I also had the similar problem recently with Oracle 12c. It got resolved after I changed the version of the ojdbc jar used. Replaced ojdbc14 with ojdbc6 jar.

    0 讨论(0)
  • 2020-11-27 05:46

    I also got the same sql error message when connecting through odp.net via a Proxy User.

    My error was that my user was created with quotation marks (e.g. "rockerolf") and I then also had to specify my user in the connectionstring as User Id=\"rockerolf\"..

    In the end I ended up deleting the user with the quotation marks and create a new one without..

    face palm

    0 讨论(0)
  • 2020-11-27 05:47

    I know this post was about 11g, but a bug in the 12c client with how it encrypts passwords may be to blame for this error if you decide to use that one and you:

    • Don't have the password case-sensitivity issue (i.e. you tried ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE and resetting the password and still doesn't work),
    • Put quotes around your password in your connection string and it still doesn't help,
    • You've verified all of your environmental variables (ORACLE_HOME, PATH, TNS_ADMIN), and the TNS_ADMIN registry string at HKLM\Software\Oracle\KEY_OraClient12Home is in place,
    • You've verified your connection string and user name/password combination works in Net Manager, and
    • You can connect using SQL*Plus, Oracle SQL Developer using the same credentials.

    All the basic checks.

    Fix: Try setting HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled to 0 in the registry (regedit) to disable FIPS.

    Oracle.ManagedDataAccess and ORA-01017: invalid username/password; logon denied

    ORA-01005 error connecting with ODP.Net

    https://community.oracle.com/thread/2557592?start=0&tstart=0

    https://dba.stackexchange.com/questions/142085/ora-01017-invalid-username-passwordlogon-denied/142149#142149

    0 讨论(0)
提交回复
热议问题