RegSvr32 - Problem registering DLL (Urgent!)

I recently updated a DLL (VB6) and attempted to register it on the server it has always resided on using RegSvr32.

I received a confirmation message that said the registration succeeded; however, when I attempt to create a package in MTS only two of the seven components show up!

Also, when I then attempt to un-register the DLL, I receive the following error:

DLLUnregisterService in (myDLL.dll) failed. Return code was 0x80004005

Let me know if you need any additional information. TIA!
Who is Participating?
It seems like the file has not been registered
I have had problems with registering files but one way has always worked

and then drag the dll into the run box
hit enter and it register
Note: There is a space after the regsvr32
Interesting Anil U, I never would have tried your method. Thanks for showing me another way.  Leave it to Microsoft, they give you a million different ways to do the same thing.

Anyway, I was going to say... Be sure you have the correct path for your DLL, when you use RegSvr32 at the Run command.  If you have more than one copy of your DLL in different states or versions, you may be registering the wrong one.  I like to use a Command Prompt for regeistering new DLLs, just to give me a little more info.
BillCaseAuthor Commented:
Unfortunately, that didn't work either .. It still says it registers successfully, but only two of the components are visible.

In any event, I was able to register the same DLL under a different name. Not sure why that works, but it did! Thanks for the advice all!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.