Windows Oracle Data Access Components (MOSC)

MOSC Banner

How can I use Wallet in C# to connect to the RDBMS without password?

edited Aug 25, 2010 2:44AM in Windows Oracle Data Access Components (MOSC) 3 commentsAnswered ✓
 The wallet is working fine with SQL*Plus (sqlplus /@dbname). The wallet is working fine in VBScript too. But how can I use it in C#?

This is with password:
conn = new OracleConnection(String.Format("User Id={0};Password={1};Data Source={2}", uname, pwd, connectTo));
conn.Open();

I tried this for wallet:
conn = new OracleConnection(String.Format("Data Source={0}", connectTo));
conn.Open();

But it does not work.
Is it possible at all?

thanks,
gabor

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center