🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.database.dotnet
Article #73

Re: How to connect to Oracle database as sysdba?

#73
From: Ender
Date: Fri, 04 Nov 2005 04:04
26 lines
2168 bytes
"Marc Rohloff [TeamB]" <"on request">
> Try:
> "User Id=SYS;Password=SYS;DBA Privilege=SYSDBA;Data Source=oracle;"

The result is:

> maketestdb.exe "Server=mica;Password=xxxx;DBA Privilege=SYSDBA;User 
> ID=sys;Persist Security Info=true"

Unhandled Exception: System.ArgumentException: Keyword not supported: 'dba 
privilege'.
   at System.Data.OracleClient.DBConnectionString.ParseInternal(Char[] 
connectionString, UdlSupport checkForUdl, NameVal
uePair& keychain)
   at System.Data.OracleClient.DBConnectionString..ctor(String 
connectionString, UdlSupport checkForUdl)
   at System.Data.OracleClient.OracleConnectionString..ctor(String 
connectionString)
   at System.Data.OracleClient.OracleConnectionString.ParseString(String 
connectionString)
   at System.Data.OracleClient.OracleConnection.set_ConnectionString(String 
value)
   at System.Data.OracleClient.OracleConnection..ctor(String 
connectionString)

I believe this keyword is specific for Oracle's components, not Microsoft's. 
Technical Details
Message-ID: <436adc54@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!multikabel.net!feed20.multikabel.net!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4369bcb3@newsgroups.borland.com> <1fleglian7anz.dlg@marcrohloff.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1effe6,3ac4827a84d68481
X-Google-Attributes: gid1effe6,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ender" <linuxmustdie@hotmail.com>
Newsgroups: borland.public.delphi.database.dotnet
References: <4369bcb3@newsgroups.borland.com> <1fleglian7anz.dlg@marcrohloff.com>
Subject: Re: How to connect to Oracle database as sysdba?
Date: Fri, 4 Nov 2005 09:04:27 +0500
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 62.148.235.94
Message-ID: <436adc54@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1131076692 62.148.235.94 (3 Nov 2005 19:58:12 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!multikabel.net!feed20.multikabel.net!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail