ChangePassword and expired password (ORA-28001) ??

ChangePassword and expired password (ORA-28001) ??

Postby 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 ?
expas
 

Postby 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.
Paul
 
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Postby expas » Thu 05 May 2005 23:26

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


Return to dotConnect for Oracle