If you are receiving the following error when attempting to perform synchronization with GogTasks using Outlook 2010, read this guide on how to fix it:

Unable to cast COM object of type 'Microsoft.Office.Interop.Outlook.NameSpaceClass' to interface type 'Microsoft.Office.Interop.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)).

I do not know the cause of this error occuring, but I do know it is related to the Microsoft Primary Interop Assemblies (PIA), and I know how to fix it. You will need administrator access to your computer to perform these steps.

  1. Download and extract to a temporary directory on your local hard drive.
  2. Quit Outlook
  3. Locate a file named
    on your hard drive. A file search in
    will get the job done. It will be in an Office folder. If you have several office versions installed, make not of the location in the folder named Office14 which is for Outlook 2010.
  4. Edit
    using your favourite text editor. Replace the path at line 12 with the path to
    you just located. Note that you must use double backslash as path separator. Example of valid line 12:
    @="C:\\Program Files\\Microsoft Office\\Office14\\MSOUTL.OLB"
  5. Edit
    and peform the same procedure as in the step above.
  6. Double click on
    extracted from the archive. This will clean up any "mess" in the registry related to the PIAs and prepare you for the next steps.
  7. Double click and import
  8. Double click and import
  9. Double click and import
  10. Start Outlook and test a synchronization with GogTasks.