Reply
Microsoft VBScript runtime (0x800A01A8) error
Old 10-24-2007, 05:29 AM Microsoft VBScript runtime (0x800A01A8) error
Junior Talker

Posts: 2
Name: Lauren
Trades: 0
Hi i am currently writing some script for an intranet page. There were two templetes included as the header and footer but since i have removed them i have got this error message:

Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'conn'
/leave/index.asp, line 25

The code below is taken from the section where the problem is...is possible could anyone help me with this??

failmsg = "You have been denied access. Please ensure you are typing your username and password correctly."
end if
rsvalidate.close
Set rsvalidate = nothing
end if
sqlSystemYear = "SELECT LeaveSystemYear.Year FROM LeaveSystemYear WHERE (((LeaveSystemYear.SystemID)='leave'));"
set rsSystemYear = Conn.Execute(sqlSystemYear)
Systemyear = rsSystemYear("Year")
rsSystemYear.Close
set rsSystemYear = Nothing
fairydust01 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-24-2007, 05:38 AM Re: Microsoft VBScript runtime (0x800A01A8) error
chrishirst's Avatar
Super Moderator

Posts: 22,257
Location: Blackpool. UK
Trades: 0
You haven't defined and instatiated "conn" anywhere

Quote:
There were two templetes included as the header and footer but since i have removed them i have got this error message
I guess it was in the header include then
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-24-2007, 05:42 AM Re: Microsoft VBScript runtime (0x800A01A8) error
Junior Talker

Posts: 2
Name: Lauren
Trades: 0
Thanks ill go and have a try with that now then!!
fairydust01 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Microsoft VBScript runtime (0x800A01A8) error
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.12237 seconds with 13 queries