IIS 5 & IIS 6
IIS 6 Classic ASP - Error '8002801d'
Last post Jun 05, 2012 10:15 AM by peterviola
Mar 15, 2012 12:53 PM|iron01|LINK
I am on Windows Server 2003 for Small Business.
I receive the following error:
/Pqts/Validate.asp, line 7
Following are the VBScript:
Response.Expires = -1 'line 10
session.timeout=120 'line 11
Response.Write err.number 'line 18
If I comment out line 7 line 8 throws the same error and each following line wil throw the error except the two line with the Dim statements until you get to Response.Write that will work.
I have reinstalled IIS6 and made sure that the 'ACTIVE SERVER PAGES' are allowed.
I have tried reregisterin the asp.dll.
There is a 'logon.asp' page that does not contain any vbscript and that works fine.
If I use the ON ERROR RESUME NEXT it will write -2147319779
Mar 15, 2012 02:19 PM|terridonahue|LINK
The 8002801d error code is specific to a library not being registered. By turning off friendly http error messages in your web browser, you can get more specific information related to the failure.
Mar 15, 2012 03:32 PM|iron01|LINK
The show friendly http error message is already turned off.
Jun 05, 2012 10:15 AM|peterviola|LINK
Here is the MS KB for error 8002801d:
I can't tell from your code snippet if you are using any include files at the top of the page. If so try to remove them and test. Also try to create a simple 'hello world' page with nothing else in it.