asp_database_setup thread: ADODB.Connection Invalid Class Error
Message #1 by "Mark Arthur A. Llusala" <soyt_llusala@y...> on Sat, 28 Sep 2002 09:03:11
|
|
I have this error when I try to run this code on windowsXP and it gives me
an Invalid Class how do I run this code wherein it does perfectly on
windows 2000
here's the code
Dim objConn
Set objConn Server.CreateObject(ADODB.Connection)
any Idea on how to do this things, this code was copied on the book
beginning ASP 3 wrox press the file is classfd.asp
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 30 Sep 2002 11:30:12 +1000
|
|
There should be an = sign between objConn and Server.
Set objConn = Server.CreateObject("ADODB.Connection")
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Mark Arthur A. Llusala" <soyt_llusala@y...>
Subject: [asp_database_setup] ADODB.Connection Invalid Class Error
: I have this error when I try to run this code on windowsXP and it gives me
: an Invalid Class how do I run this code wherein it does perfectly on
: windows 2000
:
: here's the code
:
: Dim objConn
: Set objConn Server.CreateObject(ADODB.Connection)
:
: any Idea on how to do this things, this code was copied on the book
: beginning ASP 3 wrox press the file is classfd.asp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|