ASP call a COM but got Error Code = 0x8002801d : Library not registered.

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default ASP call a COM but got Error Code = 0x8002801d : Library not registered.

    Hi all,
    I have created a component based on [url]http://support.microsoft.com/kb/299692[/url]
    Registered the DLL on my IIS 5.1 server (XP SP2) but I got this error
    message on my asp page:

    Error Type:
    (0x8004E025)
    COM+ Activation failed because an initialization function failed.
    Check the event log for more information.
    /uploadfile.asp, line 55

    While the ASP coding is like
    Dim strMsg 'As String

    dim fuFile
    set fuFile = server.CreateObject("ASPFileUpload.file")
    fuFile.Target = "C:\TEMP\AspFileUpload\" 'this is line 55
    fuFile.Upload

    I also checked my event log and found the following message -

    The IObjectControl::Activate() method failed. The CLSID of the object
    is: {F166EB64-35B6-4D25-A6BE-9097B5D3E732}

    Server Application ID: {CF4EDBC3-9899-407D-BB64-9B31A42D0C97}
    Server Application Instance ID:
    {2583C377-F0C6-4D31-B35B-7F0EA09F527C}
    Server Application Name: ASPFileUpload
    Error Code = 0x8002801d : Library not registered.
    COM+ Services Internals Information:
    File: d:\qxp_slp\com\com1x\src\comsvcs\jit\jit.cpp, Line: 444
    Comsvcs.dll file version: ENU 2001.12.4414.308 shp

    I cannot tell where the problem is because I already registered this
    DLL file by using regsvr32 command. I also tried to restart IIS but
    got the same result. I have created a folder under c:\temp
    \ASPFileUpload and added IUSR_XXXXXX and IWAM_XXXXXX permissions.
    Really have no clue. Anyone has ideas will be appreciated.

    tanya.wang@gmail.com Guest

  2. Similar Questions and Discussions

    1. ASP Library not registered 0x8002801D in OWC11.chartspace
      Hey guys, Just want to thank you guys in advance. I am receiving a "library not registered" error when I am running this code. I am not too...
    2. #26295 [Opn->Bgs]: Change from PCRE Library 3.9 to PCRE library 4.3 has resulted in broken code.
      ID: 26295 Updated by: sniper@php.net Reported By: mnbob70 at earthlink dot net -Status: Open +Status: ...
    3. #26295 [NEW]: Change from PCRE Library 3.9 to PCRE library 4.3 has resulted in broken code.
      From: mnbob70 at earthlink dot net Operating system: Linux lion.phpwebhosting.com 2.4 PHP version: 4.3.4 PHP Bug Type: PCRE...
    4. New RegExp -> (0x8002801D) Library not registered?
      Bent Kjeldsen wrote: Is the server using IIS 5 or 4? The Set...= New... syntax was not supported in IIS4. Bob BArrows
    5. ASP ERROR: error '8002801d' -> Library not registered. : my Active Server Pages are not so active.
      I've got two IIS servers. One public and one staging. On the public server the ASP code works fine however on the staging server I've started...
  3. #2

    Default Re: ASP call a COM but got Error Code = 0x8002801d : Library not registered.

    [url]http://support.persits.com/show.asp?code=PS0103069[/url]








    <tanya.wang@gmail.com> wrote in message news:1185407765.916634.55570@19g2000hsx.googlegrou ps.com...
    > Hi all,
    > I have created a component based on [url]http://support.microsoft.com/kb/299692[/url]
    > Registered the DLL on my IIS 5.1 server (XP SP2) but I got this error
    > message on my asp page:
    >
    > Error Type:
    > (0x8004E025)
    > COM+ Activation failed because an initialization function failed.
    > Check the event log for more information.
    > /uploadfile.asp, line 55
    >
    > While the ASP coding is like
    > Dim strMsg 'As String
    >
    > dim fuFile
    > set fuFile = server.CreateObject("ASPFileUpload.file")
    > fuFile.Target = "C:\TEMP\AspFileUpload\" 'this is line 55
    > fuFile.Upload
    >
    > I also checked my event log and found the following message -
    >
    > The IObjectControl::Activate() method failed. The CLSID of the object
    > is: {F166EB64-35B6-4D25-A6BE-9097B5D3E732}
    >
    > Server Application ID: {CF4EDBC3-9899-407D-BB64-9B31A42D0C97}
    > Server Application Instance ID:
    > {2583C377-F0C6-4D31-B35B-7F0EA09F527C}
    > Server Application Name: ASPFileUpload
    > Error Code = 0x8002801d : Library not registered.
    > COM+ Services Internals Information:
    > File: d:\qxp_slp\com\com1x\src\comsvcs\jit\jit.cpp, Line: 444
    > Comsvcs.dll file version: ENU 2001.12.4414.308 shp
    >
    > I cannot tell where the problem is because I already registered this
    > DLL file by using regsvr32 command. I also tried to restart IIS but
    > got the same result. I have created a folder under c:\temp
    > \ASPFileUpload and added IUSR_XXXXXX and IWAM_XXXXXX permissions.
    > Really have no clue. Anyone has ideas will be appreciated.
    >

    Jon Paal [MSMD] Guest

  4. #3

    Default Re: ASP call a COM but got Error Code = 0x8002801d : Library not registered.

    On Jul 26, 9:36 am, "Jon Paal [MSMD]" <Jon nospam Paal @ everywhere
    dot com> wrote:
    > [url]http://support.persits.com/show.asp?code=PS0103069[/url]
    >
    >
    >
    > <tanya.w...@gmail.com> wrote in messagenews:1185407765.916634.55570@19g2000hsx.goo glegroups.com...
    > > Hi all,
    > > I have created a component based onhttp://support.microsoft.com/kb/299692
    > > Registered the DLL on my IIS 5.1 server (XP SP2) but I got this error
    > > message on my asp page:
    >
    > > Error Type:
    > > (0x8004E025)
    > > COM+ Activation failed because an initialization function failed.
    > > Check the event log for more information.
    > > /uploadfile.asp, line 55
    >
    > > While the ASP coding is like
    > > Dim strMsg 'As String
    >
    > > dim fuFile
    > > set fuFile = server.CreateObject("ASPFileUpload.file")
    > > fuFile.Target = "C:\TEMP\AspFileUpload\" 'this is line 55
    > > fuFile.Upload
    >
    > > I also checked my event log and found the following message -
    >
    > > The IObjectControl::Activate() method failed. The CLSID of the object
    > > is: {F166EB64-35B6-4D25-A6BE-9097B5D3E732}
    >
    > > Server Application ID: {CF4EDBC3-9899-407D-BB64-9B31A42D0C97}
    > > Server Application Instance ID:
    > > {2583C377-F0C6-4D31-B35B-7F0EA09F527C}
    > > Server Application Name: ASPFileUpload
    > > Error Code = 0x8002801d : Library not registered.
    > > COM+ Services Internals Information:
    > > File: d:\qxp_slp\com\com1x\src\comsvcs\jit\jit.cpp, Line: 444
    > > Comsvcs.dll file version: ENU 2001.12.4414.308 shp
    >
    > > I cannot tell where the problem is because I already registered this
    > > DLL file by using regsvr32 command. I also tried to restart IIS but
    > > got the same result. I have created a folder under c:\temp
    > > \ASPFileUpload and added IUSR_XXXXXX and IWAM_XXXXXX permissions.
    > > Really have no clue. Anyone has ideas will be appreciated.- Hide quoted text -
    >
    > - Show quoted text -
    I tried to add everyone and granted full access to that key value, but
    no help...
    any other ideas?

    tanya.wang@gmail.com Guest

  5. #4

    Default Re: ASP call a COM but got Error Code = 0x8002801d : Library not registered.

    For technical support, write to [email]support@persits.com[/email].



    >
    > I tried to add everyone and granted full access to that key value, but
    > no help...
    > any other ideas?
    >

    Jon Paal [MSMD] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139