Unable to register the type library: Register TypeLib failed; code 0x8002801C. __


Have Windows 7 installed and am trying to download applicationexe file which is developed in visualbasic6 which should be compatible (and I am in the administrator log-in). 

However during installation get an error message stating:
Unable to register the type library: Register TypeLib failed; code 0x8002801C. 
Error accessing the OLE registry

Click retry to try again, ignore to proceed anyway (not recommended) or abort to cancel installation"

Have tried retry but with no success so have aborted for  now.

Do you know what the problem is please and how it can be solved.  I've had a look in my C drive and the file stdole2 is installed but don't know what else I can check or do. 

Any help gratefully received.
Thank you.

Hey vaibhavkul, 

Which exactly is the application you’re trying to install?

The error message indicates that the file is not correctly registered.

To fix the error message, try registering the Library file.

Step 1:

a.    Go to Start and type cmd.

b.    Right-Click on cmd and select “Run as administrator”.

c.    Type the following command without the quotes and press Enter.

“regsvr32 \windows\system32\STDOLE2.TLB”

You should see a message saying "DllRegisterServer ... succeeded"

Step 2:

After registering the file, try the installation from elevated mode.

a.    Right-Click on the installation file.

b.    Select “Run as Administrator”.

For your reference, see: Error accessing the OLE registry (Build 5744 and msrdp.ocx)

If you still face the same problem, it would be best to contact the software provider.


Shinmila H - Microsoft Support

Visit our Microsoft Answers Feedback Forum and let us know what you think.

13 people were helped by this reply


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.


Question Info

Last updated July 1, 2020 Views 43,175 Applies to: