Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Library Not Registered

Library Not Registered

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comsysadminhelp
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qur
    wrote on last edited by
    #1

    I have made component using ATL Com bu when i called it from ASP, i am getting follwoing error: Server object, ASP 0177 (0x8002801D) Library not registered. Code: dim objTrim set objTrim = server.CreateObject ("MY_TRIM.TrimMain") What am i missing here Thanx

    N V 2 Replies Last reply
    0
    • Q qur

      I have made component using ATL Com bu when i called it from ASP, i am getting follwoing error: Server object, ASP 0177 (0x8002801D) Library not registered. Code: dim objTrim set objTrim = server.CreateObject ("MY_TRIM.TrimMain") What am i missing here Thanx

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      Looks like you need to register you COM component. Go to a command prompt; change the directory to your .dll and type: regsvr32 mydll.dll. Obviously replacing mydll.dll with the name of your component. :) -Nick Parker

      Q 1 Reply Last reply
      0
      • N Nick Parker

        Looks like you need to register you COM component. Go to a command prompt; change the directory to your .dll and type: regsvr32 mydll.dll. Obviously replacing mydll.dll with the name of your component. :) -Nick Parker

        Q Offline
        Q Offline
        qur
        wrote on last edited by
        #3

        DLL is registered and same code is working fine when called from VB client.

        1 Reply Last reply
        0
        • Q qur

          I have made component using ATL Com bu when i called it from ASP, i am getting follwoing error: Server object, ASP 0177 (0x8002801D) Library not registered. Code: dim objTrim set objTrim = server.CreateObject ("MY_TRIM.TrimMain") What am i missing here Thanx

          V Offline
          V Offline
          Vi2
          wrote on last edited by
          #4

          IMHO, the "MY_TRIM.TrimMain" ProgID can be converted into the reasonable CLSID (say CLSID_TrimMain), but this CLSID's entry doesn't have any TypeLib information. Check the HKEY_CLASSES_ROOT\CLSID\{CLSID_TrimMain}\TypeLib key if exist. With best wishes, Vita

          Q 1 Reply Last reply
          0
          • V Vi2

            IMHO, the "MY_TRIM.TrimMain" ProgID can be converted into the reasonable CLSID (say CLSID_TrimMain), but this CLSID's entry doesn't have any TypeLib information. Check the HKEY_CLASSES_ROOT\CLSID\{CLSID_TrimMain}\TypeLib key if exist. With best wishes, Vita

            Q Offline
            Q Offline
            qur
            wrote on last edited by
            #5

            I have checked it at the specified location it exists. One more thing i have registered same dll on some other machine and it works on it.

            V 1 Reply Last reply
            0
            • Q qur

              I have checked it at the specified location it exists. One more thing i have registered same dll on some other machine and it works on it.

              V Offline
              V Offline
              Vi2
              wrote on last edited by
              #6

              IMHO, your library has a reference to other type library which is absent on your computer. With best wishes, Vita

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups