RegSvr32 - Problem registering DLL (Urgent!)

Posted on 2006-05-16
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
    LVL 8

    Accepted Solution

    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
    LVL 2

    Expert Comment

    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

    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!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now