This project has moved and is read-only. For the latest updates, please go here.

Can't Import

Oct 11, 2013 at 6:58 AM
Edited Oct 11, 2013 at 6:59 AM
Hi All
Try to do a simple import and get this:

Unable to cast COM object of type 'Microsoft.Office.Interop.Word.DocumentClass' to interface type 'Microsoft.Office.Interop.Word._Document'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{0002096B-0000-0000-C000-000000000046}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

I am using TFS online
Oct 11, 2013 at 8:13 AM
What version of Word do you have on your machine?


Oct 11, 2013 at 8:19 AM
Not sure the build version, but its 2013. I am pretty sure its x64, which is what I installed. Cant find out how to check the version in 2013.
Oct 11, 2013 at 8:24 AM
If this is 64-bit Office, did you install the 64-bit Add-in? Also, what version of the Visual Studio Tools for Office Runtime do you have installed?


Oct 11, 2013 at 8:34 AM
I installed the 64bit version of the add-in. office tools are 2010 build: 10.0.40303

Oct 11, 2013 at 8:48 AM
This is a bit of a mystery, it looks like there might be something wrong with the Office Primary Interop Assemblies (PIAs). Can you check the following article please?