Boot time of Outlook Add-in in Add-in Express

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

Boot time of Outlook Add-in in Add-in Express
 
EnterpriseDev




Posts: 51
Joined: 2016-07-01
Hi,

I have a instance of a customer who is running a server with our Outlook Add-in and who is seeing a large boot time of 4 seconds in Event ID=45 in Event Viewer, see screenshot below. It looks like this only happens rarely when the server is on high load.

Any idea how this is possible? I have tried to add some Sleep() to my add-in code, but the Event ID=45 boot time is still very short with Add-in Express (<100ms). Do you think the adxloader.log file will display the long loading time (the customer has difficulty getting the file as it gets overwritten each run)? Any other clue how to further debug this?

ADX Loader version: 8.4.4395.0

[img]http://imgur.com/6T98CMW[/img]
Posted 06 Apr, 2017 16:12:33 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Hello EnterpriseDev,

We need to have the adxloader.log describing the load when the delay occurs. If the delay occurs because of high load, you can try to reproduce the delay by loading your add-in on a virtual machine so that it loads its resources from a network location.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 07 Apr, 2017 01:42:40 Top
EnterpriseDev




Posts: 51
Joined: 2016-07-01
Thank you. I will get back to you.
Posted 07 Apr, 2017 02:05:01 Top
EnterpriseDev




Posts: 51
Joined: 2016-07-01
This seems to have been related to an internal problem. I will get back to you if I have any more questions. Thank you.
Posted 09 Apr, 2017 15:10:17 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Thank you for letting us know.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2017 02:51:55 Top
EnterpriseDev




Posts: 51
Joined: 2016-07-01
I know that ADX hides the true boot time of the add-in for Outlook so that the Event Id 45 in Event Viewer always displays a fairly low value (20-150ms) while the true startup time of the add-in can be 1 second or so.

Assuming the true startup time of the add-in is 1 second, do you know if this always causes a 1 second delay of Outlook starting? Or does Outlook load the ADX add-in in parallel with other add-ins so that as long as there are other add-ins being loaded (longer than 1 second) no starup time is actually added to Outlook?
Posted 11 Apr, 2017 05:47:56 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Outlook should load all add-ins one by one. This lets you have a coordinated state of all Outlook objects when the add-ins use the Outlook object model.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Apr, 2017 06:21:13 Top
EnterpriseDev




Posts: 51
Joined: 2016-07-01
So then the boot up time of the add-in will add to the Outlook boot up time.
Posted 11 Apr, 2017 06:40:15 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Yes. No wonders here.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Apr, 2017 06:47:25 Top