Unable to open broker pipe.

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

Unable to open broker pipe.
 
Subscribe
zipi sompo




Posts: 123
Joined: 2013-09-03
Hi,

I'm currently developing an IEAddon in C# for IE.
When user clicks on button the IEAddON open a word application with a specific docx file.
We use the same installation on all hosts,
In some hosts the Broker throws exception alternatly:
Exception Source:
Exception Type: AddinExpress.IE.ADXIEBrokerApplicationException
Exception Message: Unable to open broker pipe.
Exception Target Site: Object reference not set to an instance of an object.
I followed the instructions here:
https://www.add-in-express.com/forum/read.php?PAGEN_1=1&FID=10&TID=12325#nav_start
But everything was ok and the AddinExpress.IE.Broker.dll assembly exists in the target folder after installation.

Thanks a lot!
Posted 20 Jul, 2017 05:53:07 Top
Andrei Smolin


Add-in Express team


Posts: 14114
Joined: 2006-05-11
Hello Zipi,

Do you have a call stack?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Jul, 2017 08:36:06 Top
zipi sompo




Posts: 123
Joined: 2013-09-03
Hi,
currently I didn't success to reproduce it.
do you have any idea what the cause to this problem?
Posted 23 Jul, 2017 07:24:02 Top
Andrei Smolin


Add-in Express team


Posts: 14114
Joined: 2006-05-11
Hello Zipi,

Maybe, you start using the broker app before the OnBrokerStarted event is raised on the module?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Jul, 2017 03:04:46 Top
zipi sompo




Posts: 123
Joined: 2013-09-03
Hi,
'Maybe, you start using the broker app before the OnBrokerStarted event is raised on the module?'
what do you mean?
When user clicks on button the IEAddON using SendDataToBroker function and send the path of the docx to open.
In broker I write my code in IEBrokerModule_OnDataReceived.

currently the problem reproduce the Stack Trace:

Detailed technical information follows:
---
Date and Time: 24/07/2017 11:28:10
Machine Name: ELA-PC
IP Address: ::1
Current User: DOMAIN\Hana5

Application Domain: C:\Program Files\Atid S.M\AtidWebListner\
Assembly Codebase: file:///C:/Program Files/Atid S.M/AtidWebListner/AddinExpress.IE.DLL
Assembly Full Name: AddinExpress.IE, Version=9.2.6124.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 9.2.6124.0

Exception Source:
Exception Type: AddinExpress.IE.ADXIEBrokerApplicationException
Exception Message: Unable to open broker pipe.
Exception Target Site: ההפניה לאובייקט לא הוגדרה למופע של אובייקט.
Posted 24 Jul, 2017 04:45:46 Top
Andrei Smolin


Add-in Express team


Posts: 14114
Joined: 2006-05-11
Hello Zipi,

Thank you for the call stack. You need to install the latest build; see https://www.add-in-express.com/downloads/adxnet-ie.php.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Jul, 2017 04:57:18 Top
zipi sompo




Posts: 123
Joined: 2013-09-03
The latest build should be solve my problem?
Posted 25 Jul, 2017 01:03:32 Top
Andrei Smolin


Add-in Express team


Posts: 14114
Joined: 2006-05-11
Hello Zipi,

I believe so.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Jul, 2017 03:30:38 Top
zipi sompo




Posts: 123
Joined: 2013-09-03
After I install the latest build.
I create again a wix setup project of my IEAddON but after build it create me only 2 files:

AW_BrowserListenerSetup(2.1.0).msi
AW_BrowserListenerSetup(2.1.0).wixpdb

without setup.exe ?
Posted 25 Jul, 2017 03:41:21 Top
Andrei Smolin


Add-in Express team


Posts: 14114
Joined: 2006-05-11
zipi sompo writes:
without setup.exe ?


WiX doesn't create setup.exe. You need to modify the WiX project file to get setup.exe created; see e.g. http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html. See also http://www.c-sharpcorner.com/UploadFile/cb88b2/installing-prerequisites-using-wix-bootstrapper-project-and/.

If you use our Designer for WiX toolset, you can select the WiX project, click the Prerequisites property on the Properties window and specify creating setup.exe and choose prerequisites to be installed. See https://www.add-in-express.com/wix-designer/index.php.

Alternatively, you can install Visual Studio Installer; it is free:

VS 2013 - https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d
VS 2015 - https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9
VS 2017 - https://marketplace.visualstudio.com/vsgallery/fd136a01-a0c8-475f-94dd-240136f86746

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 25 Jul, 2017 07:20:32 Top