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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-01005 'null password given' error on Windows 7

Jon_MaleApr 14 2011 — edited Apr 14 2011
Hi there, I wonder if you can help here.

We have a VB application which allows user account management (add, remove accounts etc).

On Windows 7 - Although users can log in to the application successfully, when they try to write to the database (for instance to commit an account removal) the following error appears:

*'Unable to connect SQLState=28000 [Oracle][ODBC][Ora]ORA-01005: null password given; logon denied.'*

The Thread 309726 suggests adding the database password directly on the registry key for the ODBC driver:

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\<driver>\password

Once the password has been added, you can then write to the database via the VB app.

This error does not appear on the same application on Windows XP and in the registry, the password key is empty. Why does it not need to be present on XP?

Would someone be able to give me some assistance why the error only appears on Win7.

Many thanks.

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 12 2011
Added on Apr 14 2011
1 comment
1,815 views