0x8002801c How To Register OCX Files in Windows 7 And Vista

Registering MSCOMCT2.OCX (Microsoft DatePicker) (with the aim of using this control on any of your development / application) may take you to an error code 0x8002801c.
The c:windowssysWOW64mscomct2.ocx module has been loaded, but the call to DllRegisterServer has failed, with the error code 0x8002801c”
Registering OCX Files In Windows 7 and Windows Vista:
Note: You need to copy the MSCOMCT2.OCX file to c:windowssysWOW64 not c:windowssystem32. You then can register it by running from the command prompt or run in the start menu regsvr32 c:windowssysWOW64mscomct2.ocx and it should register although make sure that you run regsvr32 with administrator privileges.

Copy MSCOMCT2.OCX to the C:windowsSysWOW64 directory. Please note that when you are using Windows 64Bit, you need to copy to SYSWOM64 Folder in Windows. And incase if you are using 32 Bit Windows, you wont find any folder like SYSWOW64. So, you need to copy the OCX file to Windows / System.

How to Register .OCX File From Command Prompt in Administrative Mode
  1. Click the Start button, then in the “Start Search” box, type CMD but DO NOT press Enter yet.
  2. In the list above, under “Programs” right-click on CMD that appears above and choose “Run as Administrator” and click “Continue”.
  3. In the open window, type the following command and press Enter:
regsvr32 c:windowssysWOW64mscomct2.ocx

Hope, this will help. The above method is explained to register MSCOMCT2.OCX File, you can register any OCX File using the above method. The only thing is, you need to copy the file to the SYSwow64 folder and then use the command prompt in Administration Mode and give the folloing command.
regsvr32 c:windowssysWOW64filename.ocx
Note: File name can be substituded with the OCX file you need to register.

Income Search Terms:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>