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

后端 未结 9 1038
青春惊慌失措
青春惊慌失措 2020-12-01 13:11

I have a challenging situation on one of our servers. I have an ASP.NET MVC 3 application that needs to connect to an Oracle 12c database. It does so using the following co

相关标签:
9条回答
  • 2020-12-01 13:40

    I had the same problem! I didn't try changing the RegKey but I did try changing the web and machine config. This did not work.

    What did solve the problem was changing the app pool I was running under!

    The App Pool was running under a service account and once I moved it to a new App Pool with just the default system account it started picking up the User ID and Password from the config.

    0 讨论(0)
  • 2020-12-01 13:43

    Check the case of user name and password.

    0 讨论(0)
  • 2020-12-01 13:46

    I was trying with the command:

    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

    But it didn't work. I had to change it using the SQL Developer in the DBA tab.

    1. Find the Parameter 'sec_case_sensitive_logon' and change its value to 'FALSE'
    2. Commit your changes using the button:
    3. It will ask the commit strategy and you have to choose both:
    4. Click 'Apply'
    5. I don't know if this step is required, but I also changed the user's password. (I set the same password)

    In case, you don't know how to open the 'Initialization Parameters':

    1. Open 'Oracle SQL Developer'
    2. Go to 'View' menu and select 'DBA'
    3. Choose a connection
    4. And then click on 'Initialization Parameters'

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