Solved 9.2 OS Authentication in VB.NET gets password null error

Posted on 2003-10-21
Last Modified: 2013-12-11
I currently have 9.2 and am using OS Authentication. When I try to use it with VB.NET after referencing, and the connection string:
"user id=/;data" I get an ora-01005 null password error.

When I log into Toad, as user / and blank password, it works fine.

I tried "user id=/;password=;data" to no avail.

Any suggestions?

Question by:tf842
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
  • 4
  • 2

Expert Comment

ID: 9600431

 Do you have Oracle Client and ODP.NET installed in the same ORACLE_HOME or in separate? Make sure that you have the following line in your %ORACLE_HOME%\network\admin\SQLNET.ORA :


What version is Oracle client?

Author Comment

ID: 9600486
These are good questions. I have installed. How do I tell the oracle client is installed, and if it is, the version.

Expert Comment

ID: 9600567
Also, do you use connection pooling? I came across a bug on Metalink saying that when connection pooling is used with ODP theer might be a problem with proxy authentication. Try to disable it ( pooling=false  in your connect string).

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.


Accepted Solution

Pontis earned 250 total points
ID: 9600569
Check  HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and see how many HOMEx keys you have there. If you have more than one, make sure that you have same the parameter I specified above in each of them (you can see the path to each home in ...HOMEx\ORACLE_HOME value).

Author Comment

ID: 9600842
I realized the mistake. I was referencing instead of Oracle.dataacess.client in my code. I changed the refrences and associated propertis. Now it works.

I do not want to use connection pooling because it is kinda buggy.

Your suggestions were not the answer, but by following them, I stumbled onto it. I will ask the moderator about partial points, say 250.

How would you feel about this?


Expert Comment

ID: 9600864
All right, I see :)

 As for the points - I would appreciate partial... Thanks.

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error in my cursor 5 64
SQL query for highest sequence 4 75
error doing substr 3 52
Check for any ASM patches and install them. 1 25
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many‚Ķ
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 how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

738 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