Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


RegSvr32 - Problem registering DLL (Urgent!)

Posted on 2006-05-16
Medium Priority
Last Modified: 2008-02-01
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!
Question by:BillCase

Accepted Solution

anil_u earned 2000 total points
ID: 16692492
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

Expert Comment

ID: 16693503
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.

Author Comment

ID: 16693958
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!

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question