locked
Can someone please help me????? RRS feed

  • Question

  • User-1555004620 posted
    I am getting the following error when I try to browse a particular .asp page with IIS 5.0

    Technical Information (for support personnel)
    Error Type:
    (0x8002801D)
    Library not registered.
    /Team/Common.asp, line 56
    Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
    Page:
    GET /Team/Common.asp
    Thursday, July 7, 2005 11:50 AM

All replies

  • User-823196590 posted
    Start here:
    http://www.aspfaq.com/show.asp?id=2134
    Thursday, July 7, 2005 2:13 PM
  • User-1555004620 posted
    This is line 56. ifIISAuthManager.EndRequestIfF­ailed = vbTrue
    Thursday, July 7, 2005 2:25 PM
  • User-823196590 posted
    Are you missing a space between if and IISAuthManager?  As in:

    "if IISAuthManager.EndRequestIfF­ailed = vbTrue"
    Friday, July 8, 2005 8:41 AM
  • User-1555004620 posted

    I was missing a space, but after putting in a space, I received the following error:

    Error Type:
    Microsoft VBScript compilation (0x800A03F9)
    Expected 'Then'
    /Team/Common.asp, line 56, column 45
    if IISAuthManager.EndRequestIfFailed = vbTrue

    Friday, July 8, 2005 9:43 AM
  • User-1853252149 posted
    That's normal programming.  The IF/THEN syntax requires a THEN because you have an IF.  Post the following couple lines of code, it should look something like:

    If IISAuthManager.EndRequestIfFailed = vbTrue Then
      {Do Something}
    End If

    Jeff
    Friday, July 8, 2005 10:14 AM
  • User-1555004620 posted

    ' Check the key

    dim ifIISAuthManager

    set ifIISAuthManager = CreateObject("CxWebAuthentication.CxIISAuthenticationManager")

    ifIISAuthManager.EndRequestIfFailed = vbTrue

    dim vaNewSessionKey

    dim bAuthOk

    bAuthOk = false

    if (ifIISAuthManager.AuthenticateRequest(Request,Response,cstr(bsSessionKey),vaNewSessionKey)) then

    bsSessionKey = cstr(vaNewSessionKey)

    Response.Cookies("CxLoginSessionKey") = bsSessionKey

    Response.Cookies("CxLoginSessionKey").Path = "/Team"

    Response.Cookies("CxLoginSessionKey").Secure = False

    else

    bsSessionKey = ""

    end if

    end sub

    private sub ServerError(errnum, errdesc)

    Response.Clear

    Response.Status = "500 Server Error"

    Response.Write("Error code: " & errnum & "." & " Error description: " & errdesc)

    call Cleanup

    response.end

    end sub

    Friday, July 8, 2005 10:17 AM
  • User-1555004620 posted
    Also, so you know, I have the same configuration on another server and that one works fine, same file, no errors.  That is what is so confusing to me.

    Thanks,
    Tim
    Friday, July 8, 2005 10:21 AM
  • User-1555004620 posted
    Now, I cannot get to any .asp pages.

  • Error Type:
    Microsoft VBScript runtime (0x800A0046)
    Permission denied: 'GetObject'
    /localstart.asp, line 19

  • Browser Type:
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)

  • Page:
    GET /localstart.asp

  • Time:
    Friday, July 08, 2005, 10:31:06 AM
Friday, July 8, 2005 10:32 AM
  • User-823196590 posted
    When you looked up that error message on ASPFAQ (which you know about now from the earlier link I posted) what did it say?  Did it help?
    Friday, July 8, 2005 10:49 AM
  • User-823196590 posted
    "set ifIISAuthManager = CreateObject("CxWebAuthentication.CxIISAuthenticationManager")"

    From checking your code, you are not missing a space ...
    Friday, July 8, 2005 10:51 AM
  • User-1555004620 posted
    No, that site did not help.  Thanks anyway.
    Friday, July 8, 2005 11:13 AM
  • User-1853252149 posted
    >  Also, so you know, I have the same configuration on another server and that one works fine, same file, no errors.  That is what is so confusing to me.

    The exact same server configuration?  I'm still leaning toward a permissions error on this.  What OS, Pro or Server?  NTFS file system?  Simple file sharing?

    Jeff
    Sunday, July 10, 2005 11:03 AM
  • User-1555004620 posted
    Yes, same configuration, it is a ghost image.  I am running 2000 server (NTFS) with IIS 5.0
    Monday, July 11, 2005 8:25 AM
  • User-823196590 posted
    We're actually back to the original message:
    (0x8002801D) Library not registered.

    Without initially seeing his code I guessed he had a typo, but now that he has shown his code we can see that he's not missing a space and "ifIISAuthManager.EndRequestIfF­ailed = vbTrue" is correct.

    See:
    http://support.microsoft.com/kb/q274038/
    http://www.aspfaq.com/show.asp?id=2134
    Monday, July 11, 2005 8:39 AM