Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

invalid username/password; logon denied

Alex SchroederApr 24 2012 — edited Apr 27 2012
We are migrating from Oracle 8 to Oracle 11g. Amongst the various tools the client uses is an application written in C++ that uses ODBC. This application is giving us a peculiar problem: From the laptop of one of the main developers, it can connect to the Oracle 11g database just fine. From every other machine (including my own desktop) we cannot connect to the Oracle 11g database using this application.

On my desktop, I can connect to the database using SQL*Plus. I can use the ODBC connection I created for Excel and import data from the Oracle 11g database into a sheet of mine. Thus, for all intents and purposes it seems to work.

Ordinarily I'd say that the C++ application is simply broken. The only problem with this explanation is that it apparently works from the main developer's laptop. Does this strange behavior ring a bell? Did he not correctly deinstall his Oracle 8 libraries? Are there configuration options we could have forgotten somewhere? A client setting regarding case-sensitivity of usernames?

The error message comes with "COM info" and says:

HRESULT value = -2147217843
HRESULT message = IDispatch error #3149
IErrorInfo source = Microsoft OLE DB Provider for ODBC Drivers
IErrorInfo description = [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied

I was hoping I could trace the connection somewhere and figure out what username and password was being sent over the wire. Unfortunately the listener.log file only list the OS username, eg. (CONNECT_DATA=(SID=xxx)(CID=(PROGRAM=xxx.exe)(HOST=xxx)(USER=asc))) with asc being my OS username but not the username used to log into the database.

Any other ideas?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2012
Added on Apr 24 2012
3 comments
3,581 views