Oracle12c错误01017,Oracle 12c: ORA-01017: invalid username/password; logon denied — oracle-tech

Attempting to connect using Oracle.ManagedDataAccess to a vendor database running 12c gets a ORA-01017.

Details:

Vendor database: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

Source systems are both windows 7 64bit.

I've tried with Visual Studio 2017 and Visual Studio 2013 (different pc) with same results.

I've updated Oracle Developer Tools for Visual Studio 2017 to 18.3.0 with no change.

MDAC versions tried:

V18.6.0 (NuGet)

V18.3.0 (NuGet)

12.1.21  (NuGet)

4.121.2.0 ODAC release 4  (installed manually, didn't use NuGet)

What does work:

SQL Developer

TOAD

sqlplus

ODBC

including OdbcConnection called in .net console app

Unmanaged Data Access (same exact code just change using at the top to Oracle.DataAccess.Client).

Also using MDAC, I can connect to the systems at my company which are oracle 10.2 and 11g without issue.

Details:

Tried the various connection methods including with or without TNS and even with user/password passed in via OracleCredential parameter.

The password is mixed case, contains a numeric and an special character.    I've varied my password to include only underscores or exclaimation point or plus sign without a change of behavior.

I've tried the various ways quote the user id and password.

My FipsAlgorithmPolicy is 0 (off)

Here's one sample:

User Id=MY_ID;Password="Aa12345+6";Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = VENDERHOST)(PORT = 1521))(CONNECT_DATA = (SERVICE_NAME = MMMM)))

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值