Exception is throw in when accessing the HostApplication object in AddinExpress.MSO.ADXAddinModule

Add-in Express™ Support Service
That's what is more important than anything else

Exception is throw in when accessing the HostApplication object in AddinExpress.MSO.ADXAddinModule
COM object that has been separated from its underlying RCW cannot be used” exception.  
Subscribe
Dirk




Posts: 73
Joined: 2017-10-05
Hello

We get the exception "COM object that has been separated from its underlying RCW cannot be used” exception."
If this exception once is fire, it is permanent every time we access the HostApplication property of the AddinExpress.MSO.ADXAddinModule (which is of type Excel._Application).

The error can be reproduced:
1) Create an addin for excel that contains a COM AddIn and a XLL AddIn.
2) Register the AddIns with adxregistrator in user context
3) Manually deactivate and activate the XLL AddIn two times from the Excel Add Manager.
4) The error occurs if the COM Add access the HostApplication property of the AddinExpress.MSO.ADXAddinModule.

What do we have to do to prevent the error.

best regards
Dirk
Posted 21 Mar, 2019 03:49:41 Top
Andrei Smolin


Add-in Express team


Posts: 16334
Joined: 2006-05-11
Hello Dirk,

I've reproduced the issue; it is now filed down under #14782 in our issue-tracking DB. I'll let you know once I have news about it.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Mar, 2019 05:22:35 Top
Andrei Smolin


Add-in Express team


Posts: 16334
Joined: 2006-05-11
Dirk,

Is the issue critical for you?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Mar, 2019 05:54:14 Top
Dirk




Posts: 73
Joined: 2017-10-05
Yes but it is related to other tickets I created. The goal ist that, we need a robust way to install our addin in many circumstances. (terminal server, Citrix, with restricted rights ..). Any "strange" behavior is not acceptable and does not match our quality policy.
Posted 21 Mar, 2019 07:47:24 Top
Andrei Smolin


Add-in Express team


Posts: 16334
Joined: 2006-05-11
Dirk,

Do you need to have a fix for this now? Or, this issue may wait for some time?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Mar, 2019 08:17:12 Top
Dirk




Posts: 73
Joined: 2017-10-05
yes we need a fix now.
Posted 21 Mar, 2019 08:23:45 Top
Andrei Smolin


Add-in Express team


Posts: 16334
Joined: 2006-05-11
Dirk,

Most probably we won't be able to provide a fix today. Tomorrow will be the earliest.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 21 Mar, 2019 08:36:34 Top
Dirk




Posts: 73
Joined: 2017-10-05
This is not a problem. Thanks.
Posted 21 Mar, 2019 08:44:06 Top
Andrei Smolin


Add-in Express team


Posts: 16334
Joined: 2006-05-11
Hello Dirk,

In a minute I'll send you an email with a download link for a non-public Add-in Express build that fixes the issue for us. Please install that build and let me know if it fixes the issue for you.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 22 Mar, 2019 05:42:53 Top
dirkln




Posts: 73
Joined: 2017-10-05
When will this fix be in the offical release?
Posted 23 Apr, 2019 05:05:02 Top