none
I get error code 0x80040201 when trying to register an ocx

    Question

  • I am using command regsvr32 actskn43.ocx and i get The module "actskn43.ocx" was loaded but the call to DllRegisterServer failed with error code 0x80040201

    I am running CMD as administrator

    please help

    Sunday, September 19, 2010 8:12 PM

Answers

  • Hi,

     

    Thanks for the post!

     

    Why you run this command? Did you encounter some issue? Maybe you needn’t run this. If you really want to register this file, please make sure it’s compatible with Windows 7.

     

    In addition, what is the version of you Windows? 32-bit or 64-bit? Since you use regsvr32 to register the actskn43.ocx, you should make sure your windows is also 32-bit.

     

    If not, you need the following steps to register the actskn43.ocx:

     

    Run cmd as administrator, then input:

                 cd \windows\syswow64

                 regsvr32 c:\filename.dll

     

    Hope it helps!

     

    Best Regards,

    Miya Yao


    This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, September 21, 2010 6:47 AM

All replies

  • Hi,

     

    Thanks for the post!

     

    Why you run this command? Did you encounter some issue? Maybe you needn’t run this. If you really want to register this file, please make sure it’s compatible with Windows 7.

     

    In addition, what is the version of you Windows? 32-bit or 64-bit? Since you use regsvr32 to register the actskn43.ocx, you should make sure your windows is also 32-bit.

     

    If not, you need the following steps to register the actskn43.ocx:

     

    Run cmd as administrator, then input:

                 cd \windows\syswow64

                 regsvr32 c:\filename.dll

     

    Hope it helps!

     

    Best Regards,

    Miya Yao


    This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Tuesday, September 21, 2010 6:47 AM
  • Hi,

    I have exactly the same error on windows 7 and your "fix" doesn't solve the problem.

    Cheers

    Danny

    Saturday, February 25, 2012 6:17 PM
  • Hi,

    I had the problem under Windows XP Home Edition.

    Using: C:/Windows/systems32/regsvr32.exe

    From the Command Prompt (CMD.exe): regsvr32 "C:\Program Files\SomeApplicDir\MyOcx.ocx"

    The message indicated the following:

    DllRegisterServer returned 0x80040201 (which seems to be a security issue as indicated here above and also in other forums)

    I used www.DependencyWalker.com to detect some missing files for regsvr32.exe:

    EFSADU.DLL
    IESHIMS.DLL
    WER.DLL

    I found lots of confusing information on forums telling you to somehow install these files or restore them, but that doesn't make sence.

    I even tried SFX /SCANNOW from the command prompt, which restores missing Window System Files (which can't hurt if you ask me), but even that indicated those files weren't supposed to be there, because they were not there after it completed (It took a long while for it to process and I didn't see it finishing by the way).

    But only on one forum, some Microsoft Moderator indicated that these missing dll's are not of importance for Windows XP, so I searched further and came back here.

    Nothing helped.

    Then I tried as follows:

    I created a short cut pointing to the "C:/Windows/systems32/CMD.exe" on my Desktop, then right clicked it, then clicked on run (or execute (I have a dutch XP version... so I'm nut sure what's the English text) ) as Administrator...

    Then the one important thing that made it work: UNCHECK the checkbox that protects you from unwanted changes to your system.

    Being at the command prompt now, type the following:

    regsvr32 "C:\Program Files\SomeApplicDir\MyOcx.ocx" ==> This registers the activeX control

    regsvr32 /u "C:\Program Files\SomeApplicDir\MyOcx.ocx" ==> This should unregister the activeX control

    It worked for me, my *.ocx were registered successfully. (I didn't try to unregister them though, but I merely want to indicate the procedure is similar).

    Good luck,

    Kenneth



    Sunday, May 13, 2012 7:36 PM
  • I have been having so many issues with MSI files not running and not being able to open services.msc because of an unregistered dll file and it wouldn't register because of the 0x80040201 error and this fixed it. Even registering from the run window wouldn't work. Thanks so much! I have been searching for three days now.

    I couldn't even run the Microsoft FixIt files for these issues because they are all MSI!!!!!! They need to make exe versions.

    Friday, June 22, 2012 12:34 AM
  • Running regsvr32 under a command prompt with administrative privileges solved this same problem for me  Thanks.


    Friday, August 31, 2012 5:57 PM
  • <object height="1" id="plugin0" style=";z-index:1000;" type="application/x-dgnria" width="1"><param name="tabId" value="{0819BFE7-9588-4DB8-8D3E-284B62DDFAF5}" /></object>

    Had the same problem with an OCX file...... cleard the problem by running the cmd as administrator......

    Sunday, September 30, 2012 3:08 PM

  • Then the one important thing that made it work: UNCHECK the checkbox that protects you from unwanted changes to your system.


    Hi Kenneth

    I am also deep in trying to resolve the same issue on W7, but your comment I quoted doesn't make sense to me - where do you have that check box please?

    regards
    vik
    Tuesday, October 29, 2013 6:22 PM