|
 |
asp_databases thread: ASP Error
Message #1 by "Hiro Shiratori" <hiro-shiratori@m...> on Tue, 19 Dec 2000 13:09:19 -0800
|
|
I have the following error.
Microsoft VBScript runtime error '800a01a8'
Object required: 'cn'
/Project7/DiveLogalx.asp, line 6
Could someone help me fix this problem or tell me where I can find the
Microsoft KB article?
Hiro Shiratori
---
FREE SOFTWARE DEVELOPMENT CODE, CONTENT, AND
INSIGHTS IN YOUR INBOX!
Get the latest and best C++, Visual C++, Java, Visual Basic, and XML tips, tools, and
developments from the experts. Sign up for one or more of EarthWeb?s
FREE IT newsletters at http://www.earthweb.com today!
---
You are currently subscribed to asp_databases as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_databases-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by "Ken Schaefer" <ken@a...> on Wed, 20 Dec 2000 10:39:03 +1100
|
|
>> The error is on line 6
> How do you know? I didn't post any code
Exactly
(with apologies to Phil Paxton)
Cheers
Ken
----- Original Message -----
From: "Hiro Shiratori" <hiro-shiratori@m...>
To: "ASP Databases" <asp_databases@p...>
Sent: Wednesday, December 20, 2000 8:09 AM
Subject: [asp_databases] ASP Error
> I have the following error.
>
> Microsoft VBScript runtime error '800a01a8'
>
> Object required: 'cn'
>
> /Project7/DiveLogalx.asp, line 6
>
> Could someone help me fix this problem or tell me where I can find the
> Microsoft KB article?
>
> Hiro Shiratori
---
FREE SOFTWARE DEVELOPMENT CODE, CONTENT, AND
INSIGHTS IN YOUR INBOX!
Get the latest and best C++, Visual C++, Java, Visual Basic, and XML tips, tools, and
developments from the experts. Sign up for one or more of EarthWeb?s
FREE IT newsletters at http://www.earthweb.com today!
---
You are currently subscribed to asp_databases as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_databases-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Dallas Martin" <dmartin@z...> on Tue, 19 Dec 2000 19:57:12 -0500
|
|
You haven't created the connection object.
Make sure your code has something like this before you
attempt to use the connection object:
Set cn = Server.CreateObject("ADODB.Connection")
cn.open(connectionstr)
dm
----- Original Message -----
From: "Hiro Shiratori" <hiro-shiratori@m...>
To: "ASP Databases" <asp_databases@p...>
Sent: Tuesday, December 19, 2000 4:09 PM
Subject: [asp_databases] ASP Error
> I have the following error.
>
> Microsoft VBScript runtime error '800a01a8'
>
> Object required: 'cn'
>
> /Project7/DiveLogalx.asp, line 6
>
> Could someone help me fix this problem or tell me where I can find the
> Microsoft KB article?
>
> Hiro Shiratori
---
FREE SOFTWARE DEVELOPMENT CODE, CONTENT, AND
INSIGHTS IN YOUR INBOX!
Get the latest and best C++, Visual C++, Java, Visual Basic, and XML tips, tools, and
developments from the experts. Sign up for one or more of EarthWeb?s
FREE IT newsletters at http://www.earthweb.com today!
---
You are currently subscribed to asp_databases as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_databases-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |