Password Change Dlg in OraOleDB

Posted on 2011-03-09
Last Modified: 2013-12-19

I am using VB.NET code with OraOLEDB provider to logon to Oracle 10g database.
In the connection string I have used PwdChgDlg=1 option.

When password expires oracle pops up Change password dialog, but after supplying
Old password, New password and Retype New password I'm getting
Ora-00988: Missing or Invalid password(s) error.

Request anyone of you to help me in this regards.

Thanks in Advance.
Question by:mdasifs
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
LVL 19

Expert Comment

ID: 35089519
Your password is probably not valid.

If the password is not enclosed in quotes then it can include any letter, any digit "_ " "# " or "$ " characters. Only a letter can be used in the first character.

Please try to provide a password according to that and retry.

Author Comment

ID: 35089775
Thanks elimesika ..

But I'm entering password in OraOleDB Provider provided dialog box, do i need to include quotes in that dialog box? I am not using Alter user command .. to change password

When you include PwdChgDlg=1 in connection string you will get Oracle Ole provided dialog box on Password expiry.

LVL 19

Expert Comment

ID: 35092468
and what is the password that you are trying to enter ??
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 14

Expert Comment

ID: 35125375
Is your password starting with number?

This  link might help.  Start reading from "Re: procedure to change password [message #426160 is a reply to message #426159]"


Expert Comment

ID: 35135350
test with password= expert

Let us know whether this password works or not?

Author Comment

ID: 35245125
it doesn't work.. getting the same error Ora-00988: Missing or Invalid password(s) error.

Accepted Solution

POracle earned 500 total points
ID: 35277704
There are 3 text box in your dialog box...

First textbox require Current password
and other 2 textbox require new password.

If you give wrong password in first textbox it may give error invalid password. Are you sure you are passing correct password here.

Read Manual of Oracle for possible password and allowed character combination. Follow rule for new password.

LVL 23

Expert Comment

ID: 37831721
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question