Sunday, October 18, 2015

Dll register error in windows 7

The module abc.dll was loaded but the call to DllRegisterServer failed with error code 0x8002801c" while registering Dll files

Set permissions on library under your user name in registry editor:

Note:Kindly take Backup Registry before going to modify the permission
  1. Click on Start; in the start search type regedit and press Enter.
  2. If you receive User account control prompt, click on Yes.
  3. Go to Registry Editor (regedit) and to key HKEY_CLASSES_ROOT\TypeLib
  4. Right click on TypeLib and select Permissions and go to the Security tab
  5. Find out if your username is listed in the list of users, if so make sure you've Full Control/ remove restricted user from the List.
  6. If not click on Add and type in the username. Once added make sure the user has Full Control.
  7. Apply changes and close the registry editor.