Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/iisHelp/common/500-100.asp

Status
Not open for further replies.

isdex1

MIS
Jan 1, 2003
9
US
Would you guys help this ASP newbie with the following error. What am I doing wrong, do I need to include some kind of library and where. I also enclosed my simple code. Thanks.


error '8002801d'
Library not registered.

/iisHelp/common/500-100.asp, line 10




My simple code:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Option Explicit
'Response.Expires=0
Dim dtmTime, dtmLater, dtmDiff
Dim strSelfURL
dtmTime = Time
dtmLater = DateAdd("h",2,dtmTime)
dtmDiff=Datediff("d",Now,#1/1/2005#)
strSelfURL = Request.ServerVariables("SCRIPT_NAME")
%>

<html>
<head>
<title>Rolax</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#CCCCFF">
<em><strong>Hello User.</strong></em><BR>
<%strSelfURL%><BR>
The Server's time is: <%=dtmTime%>.<BR>
In two hour the server's time will be <%=dtmLater%>.<BR>

<%
If dtmDiff > 0 Then
Response.Write "Still " & dtmDiff & " days to go till year 2005.<BR>" & vbcrlf
end if
%>

</body>
</html>
 
dtmDiff=Datediff("d",Now,#1/1/2005#)

i dont think that's supposed to have #'s and should just be standard double quotes, it's a vb function and not being passed thru access. that might be part of the problem.

see :
[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Actually, using hashes in VBScript signifies a date and may cut down on processing time (as opposed to a string that VBScript has to attempt to convert, etc).

The error actually appears to be something in the standard error display page that is messing up.

I just looked at the 500-100 file and it appears that line 10 is simply trying to access Response.Buffer
I'm not sure why this would be a problem, I haven't seen the 500-100 page fail to load before. What OS and version of IIS are you using?

barcode_1.gif
 
He might have the page buffer turned off in the IIS control MMC.
 
Even so, that shouldn't remove the capability to access the Response.Buffer object. This error looks like it is trying to access the object and failing to even find a registered object/library...maybe this is a question for the IIS forum?

barcode_1.gif
 
Without the Response object though... None of ASP would work. :)
 
Thats what I'm screaming and shouting baddos :)
Can't figure out how he's getting a library eror in the 500-100 page (of all things, an MS included page)...

-T

barcode_1.gif
 
The only thing I can imagine is that somehow the 500-100.asp was modified, intentionally or accidentally.
 
found this article too, pertains more directly to unhappy objects :

but doesn't match your error directly.

do you happen to have any other pages running on this server, or is this a "getting started" page/code and no pages are working yet?



[thumbsup2]DreX
aKa - Robert
if all else fails, light it on fire and do the happy dance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top