DllregisterServer failed with error code 0x8002801c

Asked By 30 points N/A Posted on -

Hello Tech savvy,

I got this odd error message pop up window when I try to register the Crystal report ocx component in windows operating. I do not understand where I went wrong during the installation process. Please help. Hunting for solution, please help me. Your help is really great. Thanks.



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 error code as a search term.

Best Answer by Ruby Islam
Best Answer
Best Answer
Answered By 70 points N/A #168370

DllregisterServer failed with error code 0x8002801c


Such error will take place in various cases.

  1. Start Command Prompt with administrative privilege. Right-click on Command Prompt, select “Run as administrator”.
  2. Now, run the “regsvr32” command.

Regsvr32 sometimes makes such issue if the command isn’t run from an elevated Command Prompt.

In rare case, it is a problem of registry issue. Permission to the registry section where the DLL and OCX files are registered, are not set to your account for reading/writing and so making such issue.

  1. Start Registry Editor. From Start menu, type “regedit”. Right-click on it, select “Run as administrator”.
  2. Navigate to the following registry section from the left pane:


  1. Right-click on “TypeLib”, select “Permissions”.
  2. Open “Security” tab.
  3. Find out your username, click to highlight it.
  4. Check the box “Full Control” from the “Permissions for <username>”.
  5. Press “OK”.

Now, try to register the OCX file. It should go without any problem.

Answered By 0 points N/A #168372

DllregisterServer failed with error code 0x8002801c


It is too hard to fix this issue. If your OCX file is corrupted or launched the command from a standard Command Prompt, this type of error will appear.

  1. Start Command Prompt with administrative privilege. It is very important because without administrative privilege, the registry can’t be written to make the OCX file available. Right-click on Command Prompt or “cmd.exe”, select “Run as administrator”.
  2. Then, run the command to register your OCX file.

If still not working,

  1. Start Registry Editor.
  2. Navigate to “HKEY_CLASSES_ROOTTypeLib”.
  3. Right-click on the key section, select “Permissions”.
  4. Highlight your User Account, check “Full Control” from the “Permissions for <user_account” box.

If not present,

  • Click “Add”.
  • Click “Advanced” from the new window’s left-bottom corner.
  • From the new window, click “Find Now” button.
  • From “Search results” box, find out your username and click “OK”.
  • Your username will be registered in “Enter the object names to select” box. Click “OK”.
  • Do the task in step #4.

Now, your command won’t make you disappointed for sure.


Login/Register to Answer

Related Questions