Load/Unload AddIn Unspecified error Exception from HRESULT: 0x80004005 (E_FAIL)

Load/Unload AddIn Unspecified error Exception from HRESULT: 0x80004005 (E_FAIL)

Anonymous
Not applicable
601 Views
3 Replies
Message 1 of 4

Load/Unload AddIn Unspecified error Exception from HRESULT: 0x80004005 (E_FAIL)

Anonymous
Not applicable

Hi im having a problem when i unload and unload the PLM addIns, 
in the first load/open of inventor adding tabs is all good, but when i unload and load the addin i received the HRESULT: 0x80004005 (E_FAIL) after yellow highlight.

 
 

Hresult.PNG

0 Likes
602 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Thanks in advance

0 Likes
Message 3 of 4

CattabianiI
Collaborator
Collaborator

Let's find what is causing error:
- Accessing RibbonTabs is OK?
var i = partRibbon.RibbonTabs.Count
- Move the two methods outside the RibbonTabs.Add method. Are they raising an exception?
- Try to use dummy values for the first three string parameters; in particular the second one must be unique with respect to all other ribbon tabs.
From the manual:

Input string that defines the unique \internal name of the ribbon tab. This is the internal name and is not displayed to the user. The name must be unique with respect to all other ribbon tabs. The name should remain constant in all locales so it can be used to find a specific tab.



0 Likes
Message 4 of 4

Maxim-CADman77
Advisor
Advisor

I'd like to know if this issue was solved (and how)?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes