Hi,
We have developed a .net2.0 application using asp.net, vb.net and oracle9i. From the appl. we pass the datasource=;userid=;password=; to validate the username and password against the user_users table in oracle.
When the password is expired, We are forcing the user to change the password through a screen which uses...
ALTER USER <user> IDENTIFIED BY <newpassword> REPLACE <oldpassword>
But the moment this statement excecute in the appl, its throwing an error msg saying "your password has been expired" and not allowing the user to change the password.
The same password expired case, If I try to login using TOAD or SQLPlus, Its immediately throwing a dialog box to change the password.
Any idea how do I change my password when it expires ?
Thanks,
Renil.
4 4307
Hi,
We have developed a .net2.0 application using asp.net, vb.net and oracle9i. From the appl. we pass the datasource=;userid=;password=; to validate the username and password against the user_users table in oracle.
When the password is expired, We are forcing the user to change the password through a screen which uses...
ALTER USER <user> IDENTIFIED BY <newpassword> REPLACE <oldpassword>
But the moment this statement excecute in the appl, its throwing an error msg saying "your password has been expired" and not allowing the user to change the password.
The same password expired case, If I try to login using TOAD or SQLPlus, Its immediately throwing a dialog box to change the password.
Any idea how do I change my password when it expires ?
Thanks,
Renil.
Are you using the same credentials to change the password?
As in, the same username and password to execute the stored procedure to change the password for that username?
Technically, if the password has expired, you may not be able to login to do any of that ! .. unless the oracle mannual has defined a way to do so
Hi,
Since I am using ODP driver, I used connection.OpenWithNewPassword("new password") to reset my password. Here is the sample C# code..
try {
cn.Open();
return cn; }
catch {
cn.OpenWithNewPassword(newpwd);
return cn; }
Hi,
We have developed a .net2.0 application using asp.net, vb.net and oracle9i. From the appl. we pass the datasource=;userid=;password=; to validate the username and password against the user_users table in oracle.
When the password is expired, We are forcing the user to change the password through a screen which uses...
ALTER USER <user> IDENTIFIED BY <newpassword> REPLACE <oldpassword>
But the moment this statement excecute in the appl, its throwing an error msg saying "your password has been expired" and not allowing the user to change the password.
The same password expired case, If I try to login using TOAD or SQLPlus, Its immediately throwing a dialog box to change the password.
Any idea how do I change my password when it expires ?
Thanks,
Renil.
How can u login after the password has been expired ?
Sorry, Yours is right since you have used ALTER USER..
Just Close the connection perfectly after your ALTER Operation and Open a new one.
Am not sure this is the solution, just try.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Lobang Trader |
last post by:
Hi all,
I am trying to create a username and a password class.
I would like to know what are the RECOMMENDED minimum and maximum length
for both fields?
These fields will be something like...
|
by: ecPunk |
last post by:
Hi,
We have a web application where we want a user to be able to change his/her
password if the password has expired but we are unable to do this with ASP
(at the moment) because we can't log...
|
by: dlinetsky |
last post by:
I have a C# web app that uses mixed mode authentication (windows
integrated auth. together with formsAuthentication). I would like to
have a form that allows users to change their windows...
|
by: Elroyskimms |
last post by:
The form has two text fields... one called txtEmail and one called
txtPassword. The username is the email address (txtEmail) and the
password is txtPassword.
Storing cookie using the following...
|
by: GregS |
last post by:
We have a client that has a very large number of users that will be connecting back to the domain via VPN only. The problem is that the communications vendor can not pass the password expiration...
| |
by: solomon_13000 |
last post by:
I am using ms access database and asp 3.0 as my front end. In my
database there is a table called account and a field called password.
How do I protect the password stored in the database.
|
by: roshina |
last post by:
Hi
Iam facing a problem in my project, developing a web site for online shopping in ASP on windows XP using IIS server.
All the validations are ok but the new password is not upadated in the data...
|
by: John Kotuby |
last post by:
Hi all,
I have a simple user-form which accepts contact and profile information for
the user to edit and save. All the textboxes are working fine and displaying
the expected data, both when the...
|
by: shashank kadge |
last post by:
You can set it to integer, if u dont want to use ADS constant.
544 - to enable the user object
66048 - for Password never expires in addition to enabling user
object.
66080 - for enabling user...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |