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
  1. Home
  2. General Programming
  3. COM
  4. How do I un register and re register dlls in COM+ - need help

How do I un register and re register dlls in COM+ - need help

Scheduled Pinned Locked Moved COM
questioncomsysadminhelp
3 Posts 2 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.
  • S Offline
    S Offline
    Slow Learner
    wrote on last edited by
    #1

    Hi, I need to un register/delete the existing dlls in COM+ and re register with the updated dlls. Could some one help me with how do I do it from the command line? We do not have test server to play around with it and be able to get it right with couple of trails. I will have to do on the production directly so please help me with the right syntax say for a Test.dll. Thanks in advance. -L

    S 1 Reply Last reply
    0
    • S Slow Learner

      Hi, I need to un register/delete the existing dlls in COM+ and re register with the updated dlls. Could some one help me with how do I do it from the command line? We do not have test server to play around with it and be able to get it right with couple of trails. I will have to do on the production directly so please help me with the right syntax say for a Test.dll. Thanks in advance. -L

      S Offline
      S Offline
      Slow Learner
      wrote on last edited by
      #2

      Hi, I tried using regsvr32 to register and regsvr32 -u to un register. I did this on my Dev PC in command prompt by creating a brand new COM+ application in component services. I got the proper messages in a message box and I thought it was successful but when I looked under the COM+ I do not see those components installed. Am I missing some thing here? Thanks, -L

      M 1 Reply Last reply
      0
      • S Slow Learner

        Hi, I tried using regsvr32 to register and regsvr32 -u to un register. I did this on my Dev PC in command prompt by creating a brand new COM+ application in component services. I got the proper messages in a message box and I thought it was successful but when I looked under the COM+ I do not see those components installed. Am I missing some thing here? Thanks, -L

        M Offline
        M Offline
        Mike the Red
        wrote on last edited by
        #3

        It depends. I'm assuming that when you say "I looked under the COM+" you are trying to add a reference in some MS environment, and are selecting the COM+ tab in that dialog box. RegSvr32 test.dll calls the DllRegisterServer() method within the DLL. RegSvr32 -u test.dll calls the DllUnregisterServer() method within the DLL. Unless these two methods return an error, you will get the "Succeeded" message, even if these are empty functions that just return S_OK. It doesn't matter, as far as RegSvr32 is concerned, if the DLL is (un)registered properly or not, so long as S_OK is returned. Check your DllRegisterServer and DllUnregisterServer methods and make sure the registry keys are being created/deleted properly. MZR

        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