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

Posts: 2
Name: Lauren
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, 04:38 AM Re: Microsoft VBScript runtime (0x800A01A8) error
chrishirst's Avatar
Super Moderator

Posts: 11,495
Location: Blackpool. UK
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!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-24-2007, 04:42 AM Re: Microsoft VBScript runtime (0x800A01A8) error
Junior Talker

Posts: 2
Name: Lauren
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

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

vB 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.12787 seconds with 13 queries