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>
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>