"Library Not Registered" error when using EMS in Outlook

Follow

Created:
Updated:

If you are seeing the following error with EMS, there may be an issue with the install of Office:

lib1.jpg

An exception occurred during EMS Archiving:

Unable to cast COM object of type 'Outlook.NameSpaceClass' to

interface type 'Outlook_NameSpace'. This operation failed

because the QueryInterface call on the COM component for the

interface with IID '{00063002-0000-0000-C000-000000000046}'

failed due to the following error: Library not registered.

(Exception from HRESULT: 0x8002801D

(TYPE_E_LIBNOTREGISTERED)).

The root issue is that the Version reference for the TypeLib created by the Outlook installation is pointing to an incorrect value. This is typically caused by having different versions of Microsoft Office products installed.  The following should help correct this issue...

Solution #1:

Make sure you have the correct Microsoft Office Primary Interop Assemblies installed for your version of Office.  For example, if you have Office 2007 installed then you would need to have the Office 2007 Primary Interop Assemblies installed. If you have any other versions installed, you may need to remove them.

Solution #2:

NOTE: Before making any changes in the Windows Registry we strongly recommend that make a backup first.  If you are unsure how to perform these steps, please contact your internal IT or Helpdesk staff for assistance.  If you do not feel comfortable making changes to the registry you can try completely uninstalling Office and then re-installing it first to see if that resolves the issue.  

Step #1 (Fix the Interface)

  1. Open the Windows Registry Editor.
  2. Navigate to HKEY_CLASSES_ROOT\Interface\{00063001-0000-0000-C000-000000000046}\TypeLib
  3. Find a '(Default)' entry with the value '{00062FFF-0000-0000-C000-000000000046}'
  4. You should find a 'Version' entry. Check that this version matches the value in the following table based on the version of Outlook currently installed.

Outlook                   Version

Outlook 2007         9.3

Outlook 2010         9.4

Outlook 2013         9.5

lib2.jpg


Step #2: (Fix the TypeLib)

  1. Navigate to HKEY_CLASSES_ROOT\TypeLib\{00062FFF-0000-0000-C000-000000000046}
  2. Delete the version keys (e.g. 9.5) for any version of Outlook that is not installed on your system based on the version table provided below. For example, if you are not using Outlook 2013 then remove the "9.5" entry. If you are not using Outlook 2010 then remove the the "9.4" entry. DO NOT DELETE the entry for the version that was configured in Step #1

Outlook                   Version

Outlook 2007         9.3

Outlook 2010         9.4

Outlook 2013         9.5

lib3.jpg

See the following articles for additional information:

https://support.netdocuments.com/entries/54190060--Unable-to-cast-COM-object-error

http://efiler.co.uk/tag/hkey_classes_roottypelib00062fff-0000-0000-c000-000000000046/

http://www.fieldstonsoftware.com/support/support_gsyncit_2013.shtml

http://www.outlookcode.com/threads.aspx?forumid=5&messageid=12039

http://kb.swiftpage.com/app/answers/detail/a_id/33143

Back to Top

Was this article helpful?
0 out of 0 found this helpful

Comments

Have more questions? Submit a request
Powered by Zendesk