[Mono-list] Connecting to Oracle as SYSDBA

Marc Puts marc.puts at realtimesolutions.nl
Mon Nov 22 16:35:24 EST 2010

Hi list,

I'm trying to create a privileged connection to an Oracle database using 
the following line:

using System.Data.OracleClient;
var con = new System.Data.OracleConnection("Data 
Source=;User ID=sys;Password=xxxxxx;DBA Privilege=SYSDBA");

However, this line throws an ArgumentException: "Connection parameter 
not supported: 'DBA PRIVILEGE'".

I've also tried creating a connection string using the 
OracleConnectionStringBuilder class, but it also doesn't seem to feature 
privileged connections.

Connecting as a normal user (without the DBA Privilege part) works with 
no problems.

I'm using Mono 2.6.7 on Ubuntu 10.10.

Any pointers on how to do this?


More information about the Mono-list mailing list