Page 1 of 1

ChangePassword and expired password (ORA-28001) ??

Posted: Thu 05 May 2005 00:46
by expas
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 ?

Posted: Thu 05 May 2005 08:13
by Paul
Thank you for information. We reproduced your problem and fixed it. This fix will be included in the
next OraDirect .NET build.

Posted: Thu 05 May 2005 23:26
by expas
now i try OraDirect 3.0 beta - this problem already solve in beta