Addin Loading Fails

  • Thread starter Thread starter j
  • Start date Start date
J

j

Hi All,

I have Outlook AddIn developed on VSTO 2005, C#, .Net 2.0.

The loading fails (Oulook 2003) with follwing exception :


Microsoft.VisualStudio.Tools.Applications.Runtime.ControlNotFoundException:
This document might not function as expected because the following
control is missing: Application. Data that relies on this control will
not be automatically displayed or updated, and other custom
functionality will not be available. Contact your administrator or the
author of this document for further assistance. --->
System.InvalidCastException: Unable to cast COM object of type
'System.__ComObject' to interface type
'Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider'.
This operation failed because the QueryInterface call on the COM
component for the interface with IID '{A4FE9958-2FF2-4675-
BBB4-8148F6A75547}' failed due to the following error: No such
interface supported (Exception from HRESULT: 0x80004002
(E_NOINTERFACE)).
at
Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider.GetHostObject(String
primaryType, String primaryCookie, Object& hostObject)
at Microsoft.Office.Tools.Outlook.Application.GetObjects()
--- End of inner exception stack trace ---
at Microsoft.Office.Tools.Outlook.Application.GetObjects()
at Microsoft.Office.Tools.Outlook.Application.GetPrimaryControl()
at Microsoft.Office.Tools.Outlook.Application.get_Version()



It's occures only on one machine that not different from those where
AddIn loads successfully.

Any Ideas?????

TNX in advance.
 
Back
Top