Link to home
Start Free TrialLog in
Avatar of shawvoel
shawvoel

asked on

Howto ASP with Oracle 8i + Win2000 Advance Server + IIS 5.0

Anyone can help me with my ASP, I'm try to using Oracle 8i as my database but I can't connect with Oracle when I using DSN, can anyone help me what should I do ?
I'm using Oracle 8i with IIS 5.0 and Win2000 Advance Server. I had add my "system DSN".

Ya, what the difference between "Microsoft ODBC for Oracle" and "Oracle ODBC driver" ? which one should I used for my DSN ?

Can anyone answer regarding to my question please ?
ASKER CERTIFIED SOLUTION
Avatar of loveneesh_bansal
loveneesh_bansal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of drittich
drittich

Try this:

Dim cn
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "Provider=MSDAORA;Data Source=YourServer;User ID=YourUserID;Password=YourPassword"
Oracles advice is that you should use the microsoft driver for 7 but theirs for 8i.
As I understand it, you also need to make sure that you have the Oracle Client software installed on the machine that will be using this connection.