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

后端 未结 9 1182
青春惊慌失措
青春惊慌失措 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:38

    Based on Jeff's answer (10/31/2014)...

    The registry setting can be set by GPO to only allow FIPS compliant algorithms. Setting this to 0 as indicated may be a violation of some security policies and get overwritten by the GPO. This registry setting controls more than just IIS or ASP.NET.

    There is another way that is specific to .NET and may work at the application level. This is much easier to justify compared to modifying the settings of the whole server.

    Application specific method:

    In your Web.config or App.config file, add the following setting:

     
      
        
      
    ...  the rest of your .config
    

    If I remember correctly, this must be at the beginning of your config file.

    All .NET application method:

    Place the setting above in the machine.config file. There will be one for each .NET version and architecture (64 bit/32 bit). There will already be a element, so put the element inside it.

提交回复
热议问题