How do I un register and re register dlls in COM+ - need help
-
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
-
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
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
-
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
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 theDllRegisterServer()
method within the DLL.RegSvr32 -u test.dll
calls theDllUnregisterServer()
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 returnS_OK
. It doesn't matter, as far as RegSvr32 is concerned, if the DLL is (un)registered properly or not, so long asS_OK
is returned. Check yourDllRegisterServer
andDllUnregisterServer
methods and make sure the registry keys are being created/deleted properly. MZR