Ansichten:

Behavior:
When attempting to store a document using Connect to Outlook, a user may encounter an error that states that it is "unable to cast COM object". This error is caused by registry entries left behind by an old version of Outlook that was not properly cleaned up after an upgrade or removal.

Solution:
Please be aware that this solution requires making manual changes to the registry. If you do not feel comfortable doing this, please contact DocuWare Support!

  • First, copy the Interface ID (IID) that is listed in the error message. It has a format of "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}", without the quotes. This will be used in the next step.
  • Navigate to:
    • On 32-bit workstations: "HKEY_CLASSES_ROOT\Interface\<IID>\TypeLib"
    • On 64-bit workstations: "HKEY_CLASSES_ROOT\Wow6432Node\Interface\<IID>\TypeLib"
  • In this key, make note of both the CLSID in the "(Default)" value as well as the "Version" value.
  • Using the CLSID from the previous step, Navigate to:
    • On 32-bit workstations: "HKEY_CLASSES_ROOT\TypeLib\<CLSID>"
    • On 64-bit workstations: "HKEY_CLASSES_ROOT\Wow6432Node\TypeLib\<CLSID>"
  • Make a backup of this key by right-clicking and selecting "Export"
  • Here, you will find several keys which do not match the version number found in the previous step. Delete all keys that do NOT match.
  • Restart Outlook and attempt to store a document.
At this point, if you receive an error message with a new IID, complete these steps again until you are able to successfully store a document.
Kommentare (0)