Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ASP ODBC and Oracle

Re: ASP ODBC and Oracle

From: <jopo_at_eline.com>
Date: 1997/06/06
Message-ID: <865635198.10764@dejanews.com>#1/1

> I made some test a month ago with SQL server and everything worked fine. Now I
> have an Oracle 7.3 Server, trying to do the same thing with Active Server
> Page.
>
> My simple ASP pageas these lines:
>
> <% set myconnection = server.createobject ("adodb.connection") %>
> <% myconnection.open "sourcedsn","auser","apsswd" %>
>
> And after that line it stops!
>

try this instead:

<% myconnection.open
"dsn=ODBC_DEVICE_NAME_HERE;uid=DATABASE_ACCOUNT_NAME_HERE;pwd=PASSWORD_HERE" %>

replacing the descriptive text with the actual values, ie. if the password is fred, then it's pwd=fred not pwd=PASSWORD_HERE

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Fri Jun 06 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US