Error Code 8002801c



If you are working for an old application you may be presented with the error:

Error Code 8002801cCodeWindows

Component ‘MSCOMCTL.OCX’ or one if its dependencies not correctly registered: a file is missing or invalid:

In this case you have two tasks to complete and neither of them are obvious:

The module “c:windowssystem32crystl32.ocx” was loaded but the call to DllRegistrServer failed with the error code 0x8002801c For more information about this problem, search online using the. What do you think of the answers? You can sign in to give your opinion on the answer. Don Box's excellent book not only guides you on how to implement client and server code, it also gives you a behind-the-scenes understanding of COM, all the way from RPC to DCOM. Definitely a worthy investment for anybody developing or mainintaing software with COM interfaces! The error message Dll register server failed code: 0x8002801c is missing. There are various types of the error message displayed in this case but, this one is the most common one. Since all the error messages are similar, they all have the same solutions which are listed below in this article.

DOWNLOAD MSCOMCTL.OCX

MSCOMCTL.OCX is part of Visual Basic 6 Package and you can download you can just download the MSCOMCTL.OCX directly from us HERE.
UPDATE – MAY 2020- Alternately you can surf to the following address but we removed the clickable link because one of our security checks has marked it as an “aggressive site” so use at your own peril: daydownloads.com/microsoft-visual-basic-6-common-controls/

INSTALL MSCOMCTL.OCX

You need to know if you are using a 32bit or 64bit version of Windows and because this is not 2002, we are assuming you want to install it on a 64bit PC. If you try to register MSCOMCTL.OCX (which is 32 bit) on a 64 bit system and you put it in the typical C:WINDOWSSYSTEM32 folder you will get:

Dllregisterserver Failed 0x8002801c

THE MODULE ‘MSCOMTRL.OCX’ WAS LOADED BUT THE CALL TO DLLREGISTERSERVER FAILED WITH ERROR CODE 0X8002801C

FailedMicrosoft error codes
  1. If you are using 64 bit Windows copy the MSCOMCTL.OCX to C:WINDOWSSYSWOW64
    (If you are using 32 bit Windows copy MSCOMCTL.OCX to C:WINDOWSSYSTEM32)
    .
  2. Open a CMD or PowerShell prompt (as an administrator) and change into C:WINDOWSSYSWOW64
    .
  3. Type

    regsvr32 mscomctl.ocx

  4. Press ENTER
  5. Enjoy

This is one of those I should have known better errors but since I could not find a direct reference to the error code on Google, I thought I would write it up for others.

I was trying to register the Crystal Reports 10 ocx component:

Call To Dllregisterserver Failed 0x8002801c

regsvr32 .exe c:windowssystem32crystl32.ocx

When I got the error:

The module “crystl32.ocx” was loaded but the call to DllRegisterServer failed with the error code 0x8002801c.

It is hard to believe (but then again for those of us doing this for a while, not so hard) that this error message is actually a permission problem. I had forgotten to Run as administrator when I opened the command prompt.

Error Code 0x8002801c Win 10

Once again, a more relevant error would have saved me some time plus remembering that registry updates always require admin rights.