Ask a Question related to ASP Database, Design and Development.
-
Ralf Pelzl #1
Oracle, ASP and Authentication
Hello,
i've wrote an ASP to connect to our Ora9i DB via ADODB:
<--- snip --->
set db=server.createobject("adodb.connection")
db.connectionstring="driver={Microsoft ODBC for
Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
db.open
<--- snip --->
it works... but now i want to use operating system authentication. if i use
the authentication on MS SQL i write:
db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."
but the trusted_connection parameter dont work with the oracle driver. what
i have to use ?
Thanks
Ralf
Ralf Pelzl Guest
-
Oracle Table Access With Oracle OLEDB Driver
If I use the Oracle client to access the Oracle database with DW 2004, it does not display any tables. If I use the Microsoft client it does work. ... -
[Macromedia][Oracle JDBC Driver][Oracle]ORA-01000:maximum open cursors exceeded
Here is the technote from Macromedia regarding this issue: http://www.macromedia.com/go/tn_17660 Hope this helps! -
#13053 [Com]: oci8 error, this kill oracle-prosseces in the oracle-instance.
ID: 13053 Comment by: gid at gifpaste dot net Reported By: jsun at basefarm dot no Status: Bogus Bug Type: ... -
#25096 [NEW]: Oracle external authentication not supported
From: ljocha at ics dot muni dot cz Operating system: any PHP version: 4.3.2 PHP Bug Type: OCI8 related Bug description: ... -
New 'Oracle Express / Oracle 9i OLAP' White Paper Available For Download
Plus Consultancy (http://www.plusconsultancy.co.uk) recently presented a white paper entitled "Express Evolution - What Oracle 9i OLAP Offers The... -
Turkbear #2
Re: Oracle, ASP and Authentication
On Fri, 4 Jun 2004 20:15:19 +0200, "Ralf Pelzl" <ralf.pelzl@cablelink.de> wrote:
2 Things..>Hello,
>i've wrote an ASP to connect to our Ora9i DB via ADODB:
>
><--- snip --->
>set db=server.createobject("adodb.connection")
>db.connectionstring="driver={Microsoft ODBC for
>Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
>db.open
><--- snip --->
>
>it works... but now i want to use operating system authentication. if i use
>the authentication on MS SQL i write:
>
>db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."
>
>but the trusted_connection parameter dont work with the oracle driver. what
>i have to use ?
>
>Thanks
>Ralf
>
>
>
>
>
The way you use OS authentication is very, very different in Oracle...Read the docs about how to set it up ( it needs to
be configured on the database server...) - ask your DBA
For any connection you should use
a DSN-less connection, not ODBC...
hth
Turkbear Guest
-
Ralf Pelzl #3
Re: Oracle, ASP and Authentication
Hi,
thanks for answer. The operating system authentication runs on the server
and works already. Every (Oracle) client can connect without a Uid/Pwd. My
question is: What Parameter i have to set to use the operating system
authentication when i try to connect to the DB via ADODB. When i connect to
a MS SQL database i can use the TRUSTED_CONNECTION parameter. What parameter
i use for an Oracle database ?
"Turkbear" <noone@nowhere.com> schrieb im Newsbeitrag
news:fdl1c0tngf1qrc5j3dm4g3udntobn9jcg7@4ax.com...wrote:> On Fri, 4 Jun 2004 20:15:19 +0200, "Ralf Pelzl" <ralf.pelzl@cablelink.de>use>> >Hello,
> >i've wrote an ASP to connect to our Ora9i DB via ADODB:
> >
> ><--- snip --->
> >set db=server.createobject("adodb.connection")
> >db.connectionstring="driver={Microsoft ODBC for
> >Oracle};ConnectString=mydb;Uid=me;Pwd=MyPwd"
> >db.open
> ><--- snip --->
> >
> >it works... but now i want to use operating system authentication. if iwhat> >the authentication on MS SQL i write:
> >
> >db.connectionstring="driver={SQL Server};TRUSTED_CONNECTION=yes ....."
> >
> >but the trusted_connection parameter dont work with the oracle driver.the docs about how to set it up ( it needs to>> >i have to use ?
> >
> >Thanks
> >Ralf
> >
> >
> >
> >
> >
> 2 Things..
>
> The way you use OS authentication is very, very different in Oracle...Read> be configured on the database server...) - ask your DBA
>
> For any connection you should use
> a DSN-less connection, not ODBC...
>
>
> hth
>
>
>
>
Ralf Pelzl Guest



Reply With Quote

