Introducing a new Customer Center experience Learn more
When I am archiving an email I get a notification:
"You need to select an item first".
In the Mail Link log file I see one of these errors:
Error: Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ExplorerClass' to interface type 'Microsoft.Office.Interop.Outlook._Explorer'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063003-0000-0000-C000-000000000046}' failed due to the following error: Interfaz no compatible (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))
Internal error. Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.ApplicationClass' to interface type 'Microsoft.Office.Interop.Outlook._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00063001-0000-0000-C000-000000000046}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
Why does it happen and how do I fix it?
The error can occur when:
There are three known ways how to solve the problem:
Correct Windows registry
To solve the problem delete registry values, which point to old Outlook installations. To do it please follow the steps below:
Step 1. Fix the Interface keys
Step 2. Fix the TypeLib keys
These are the Outlook versions:
Note! Incorrectly editing a registry can permanently damage your computer or server (if you work on Citrix/Terminal Server), so do not delete or adjust any key if you don't know specifically why you do it. We recommend to back up Windows registry before making any change. You can find instructions how to do it in this article.
Run Microsoft Office repair
Please check this Microsoft support article to get instructions how to do it.
Reinstall Microsoft Office
Please check this Microsoft support article to get instructions how to do it.
More information:
Forum thread: MailLink error/message 'You need to select an item first'