Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / December 2007

Tip: Looking for answers? Try searching our database.

Addin Loading Fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
j - 26 Nov 2007 09:41 GMT
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.
j - 25 Dec 2007 15:30 GMT
Another chance .......

Any ideas, suggestions???
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.