Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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
 
 
Register now for full access!
Old 10-24-2007, 05:38 AM Re: Microsoft VBScript runtime (0x800A01A8) error
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
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.69860 seconds with 12 queries