ChangePassword and expired password (ORA-28001) ??

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
expas

ChangePassword and expired password (ORA-28001) ??

Post by expas » Thu 05 May 2005 00:46

i need to change password when password expired on Oracle

i try to catch exception:

Code: Select all

try{
my_connection.Open();
}
catch (OracleException e)
{
if (e.Code == 28001)
my_connection.ChangePassword("new_password");
}
but it is also initial exception ORA28001 and password dont change

in ODP.NET it was simple:

Code: Select all

my_connection.OpenWithNewPassword("new_password");
so, how i can change password if password is expired ?

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Thu 05 May 2005 08:13

Thank you for information. We reproduced your problem and fixed it. This fix will be included in the
next OraDirect .NET build.

expas

Post by expas » Thu 05 May 2005 23:26

now i try OraDirect 3.0 beta - this problem already solve in beta

Post Reply