IIS 6 Classic ASP - Error '8002801d' RSS

3 replies

Last post Jun 05, 2012 10:15 AM by peterviola

  • IIS 6 Classic ASP - Error '8002801d'

    Mar 15, 2012 12:53 PM|iron01|LINK

    I am on Windows Server 2003 for Small Business.

    I receive the following error:

    error '8002801d'

    /Pqts/Validate.asp, line 7

    Following are the VBScript:

    <% Option Explicit

    'on error resume next%>



    Response.Buffer=true         'this is line 7

    Response.CacheControl = "no-cache"  'this is line 8

    Response.AddHeader "Pragma", "no-cache"  'line 9

    Response.Expires = -1            'line 10

    session.timeout=120          'line 11

    Dim UserID, UserPassed, UserRole     'line 13

    Dim Pwd                                            'line 14UserID= trim(Request.Form("UID"))     'line 16

    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

  • Re: IIS 6 Classic ASP - Error '8002801d'

    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.

    Terri Donahue
    Microsoft MVP ASPNET/IIS

    Please 'Mark as Answer' if this post helps you.
  • Re: IIS 6 Classic ASP - Error '8002801d'

    Mar 15, 2012 03:32 PM|iron01|LINK

    The show friendly http error message is already turned off.

  • Re: IIS 6 Classic ASP - Error '8002801d'

    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.

    Peter Viola
    MCTIP SA, EST, DBA 2008
    MCSA Windows Server 2012

    Please 'Mark as Answer' if this post helps you.