|
 |
asp_database_setup thread: Re: ADODB.Connection Invalid Class Error
Message #1 by Mark Arthur Llusala <soyt_llusala@y...> on Sat, 12 Oct 2002 01:20:42 -0700 (PDT)
|
|
--- Ken Schaefer <ken@a...> wrote:
> 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
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> ---
> You are currently subscribed to asp_database_setup
> as: soyt_llusala@y...
> %%email.unsub%%
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks Ken! but I still got the same problem even if i
used the code below
Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")
the last time i used this code was on my windows
2000OS and it worked because I only copied it from a
book, when I switched windowsXP it gave an Invalid
Class string Error on line 2 of the code above, I hope
you can help me with this problem thanxs!
Mark
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 14 Oct 2002 12:56:46 +1000
|
|
Try installing the lastest MDAC components. It seems like ADODB.Connection
is not a valid class string.
www.microsoft.com/data/
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Mark Arthur Llusala" <soyt_llusala@y...>
Subject: [asp_database_setup] Re: ADODB.Connection Invalid Class Error
:
: --- Ken Schaefer <ken@a...> wrote:
: > 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
: >
: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: >
: >
: > ---
: > You are currently subscribed to asp_database_setup
: > as: soyt_llusala@y...
: > %%email.unsub%%
: >
:
:
: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:
: Thanks Ken! but I still got the same problem even if i
: used the code below
:
: Dim objConn
: Set objConn = Server.CreateObject("ADODB.Connection")
:
: the last time i used this code was on my windows
: 2000OS and it worked because I only copied it from a
: book, when I switched windowsXP it gave an Invalid
: Class string Error on line 2 of the code above, I hope
: you can help me with this problem thanxs!
:
: Mark
:
:
:
:
: __________________________________________________
: Do you Yahoo!?
: Faith Hill - Exclusive Performances, Videos & More
: http://faith.yahoo.com
:
ken@a...
%%email.unsub%%
:
Message #3 by Mark Arthur Llusala <soyt_llusala@y...> on Sat, 19 Oct 2002 00:29:29 -0700 (PDT)
|
|
--- Ken Schaefer <ken@a...> wrote:
> Try installing the lastest MDAC components. It seems
> like ADODB.Connection
> is not a valid class string.
>
> www.microsoft.com/data/
>
> Cheers
> Ken
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "Mark Arthur Llusala" <soyt_llusala@y...>
> Subject: [asp_database_setup] Re: ADODB.Connection
> Invalid Class Error
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ok, Thanks Again Ken
Now I know what seems to be the problem
hehehe...
Thanks
Mark
>
>
> :
> : --- Ken Schaefer <ken@a...> wrote:
> : > 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
> : >
> : > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> : >
> : >
> : > ---
> : > You are currently subscribed to
> asp_database_setup
> : > as: soyt_llusala@y...
> : > %%email.unsub%%
> : >
> :
> :
> :
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :
> : Thanks Ken! but I still got the same problem even
> if i
> : used the code below
> :
> : Dim objConn
> : Set objConn
> Server.CreateObject("ADODB.Connection")
> :
> : the last time i used this code was on my windows
> : 2000OS and it worked because I only copied it from
> a
> : book, when I switched windowsXP it gave an Invalid
> : Class string Error on line 2 of the code above, I
> hope
> : you can help me with this problem thanxs!
> :
> : Mark
> :
> :
> :
> :
> : __________________________________________________
> : Do you Yahoo!?
> : Faith Hill - Exclusive Performances, Videos & More
> : http://faith.yahoo.com
> :
> : ---
> : You are currently subscribed to asp_database_setup
> as:
> ken@a...
> %%email.unsub%%
> :
>
>
> ---
> You are currently subscribed to asp_database_setup
> as: soyt_llusala@y...
> %%email.unsub%%
>
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
|
|
 |