Office setup starts suddenly and then Office crashes on Citrix machines

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

Office setup starts suddenly and then Office crashes on Citrix machines
When register to document events 
Igor Govorov




Posts: 83
Joined: 2014-02-12
Hi guys,

We have major issues with our Add-in, one of our customer uses Citrix and started to have strange issues with word, excel and powerpoint after upgrading Citrix from 5.6 to 7.5.0.529q.
Only users with Virtual Desktops are affected.

Those issues doesn't occur when the Add-In is disabled or if the Add-In doesn't register any document events like Activate and DocChange, etc...

The issues with Word:

Opening word , entering a sentence and pressing Space or Return, it starts installing Office and shows setup dialog with cancel button.
If click "Cancel" and then going on with writing, and then again Space or Return -> again the installer starts.
If click ?Â?Ð?ìFile?Â?Ð?í in Word, it crashes!

If double click directly on a word file -> no problem
If open word and then open a file, again a installer window pops up. Clicking on ?Â?Ð?ìfile?Â?Ð?í -> word crashes

There are similar issues also with Excel and PowerPoint (no issues with Outlook).

We are troubleshooting by sending a test Add-In with some flags that enable/disable different functionality.


Do you have any additional information that could help us to find the root cause of this issue?
Thanks!
Posted 18 Feb, 2015 03:33:02 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Igor,

Please send us the adxloader.log and adxregistrator.log files.
Usually they are located in the '<User profile location>\Documents\Add-in Express' directory.
Posted 18 Feb, 2015 04:35:16 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Igor,

Could you please test an add-in connecting to Word events but having empty event handlers?

What interops do you deploy along with your add-in? What value do you have on the Embed Iterop Types property for these interops in your add-in project?

What Word build are you using? Do you have several Office versions on that machine?

Is your add-in per user or per machine?

Did they install a newer Office version when upgrading Citrix?

And please send us the log files to the the support email address. You can find it in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 18 Feb, 2015 04:44:36 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Any updates?


Andrei Smolin
Add-in Express Team Leader
Posted 20 Feb, 2015 09:34:44 Top
Igor Govorov




Posts: 83
Joined: 2014-02-12
Hello Andrei,

We have found that the problem is related to Permission object.
Making any call that involves Document.Permission causes the issue.
We have checked this using regular VSTO addin and VBA script and have found that the crash is not related to Add-in Express.

Thanks
Posted 25 Feb, 2015 11:28:59 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Thank you for letting us know!


Andrei Smolin
Add-in Express Team Leader
Posted 26 Feb, 2015 01:32:09 Top