Slow Outlook startup with Add-in Express

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

Slow Outlook startup with Add-in Express
Long startup time for Outlook with Add-in express add-in enabled. 
Sridhar Kapavarapu




Posts: 59
Joined: 2009-07-29
Hi Andrei,

http://weblogs.asp.net/owscott/archive/2009/04/14/conquering-outlook-2007-performance-issues.aspx

Above link talks about, how to improve the performance of Outlook. In which, Step-3 discussed about compacting mailboxes.

If compact mailbox action is performed, outlook.ost file size will be reduced and outlook performance will be improved.

When i performed this action, some times we observed very little difference(2-3 seconds) in the log file for slow outlook startup, but not all the times.

So, here are my questions,
1) Is Add-in Express code depends on size of outlook.ost? Normally when outlook.ost size is large we observed the slow startup of outlook.
2) Is Opening outlook depends on size of outlook.ost file?
3) Is it useful to suggest our customers to perfrom the compacting mailbox option?


Regards
Sridhar K
Posted 17 Dec, 2009 07:36:47 Top
Andrei Smolin


Add-in Express team


Posts: 8675
Joined: 2006-05-11
Hi Sridhar,

The code of Add-in Express doesn't depend on the size of an Outlook store except for the case when you show a custom pane in WebViewPane layout. Here is an extract from the manual (this fragment was modified a few days ago and this modification isn't published yet):

Unfortunately, due to a bug in Outlook 2002 (http://support.microsoft.com/kb/305093), Add-in Express has to scan all Outlook folders in order to set and restore the WebViewUrl and WebViewOn properties. The first consequence is a delay at startup if the current profile contains thousands of folders. A simple way to prevent the delay is to disable the corresponding item(s) of the Items collection at design-time and enable it in the AddinStartupComplete event of the add-in module. Because PublicFolders usually contains many folders, Add-in Express doesn't allow using WebViewPane for PublicFolders and all folders below it. Outbox and Sync Issues and all folders below them aren't supported as well when using WebViewPane.


As for the other aspects of compacting a mailbox, I can't tell you anything; I just don't know. Rationally, I have to admit that the size of a mailbox may affect the time required for Outlook to start. But I don't have a confirmation of this. I don't think customers will be happy to compact their mailboxes, but if you insist on this, they will do it.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 17 Dec, 2009 11:56:06 Top
SYoung




Posts: 1
Joined: 2010-01-12
Hi Sridhar,

Did you manage to locate the cause of the delay with regards to the EAsE plugin? We utilize this product and notice the exact symptoms you describe with the product i.e. 11 second delay in the adxloader.log: -

.

11:07:34 1548 Start.
11:07:34 1548 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{47870958-3078-4E5D-8F66-9B85B63368E6}'
11:07:34 1548 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{47870958-3078-4E5D-8F66-9B85B63368E6}' is closed.
11:07:34 1548 Converting the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID from string.
11:07:34 1548 Success.
11:07:34 1548 Attempting to get the class object by the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID.
11:07:34 1548 Success.
11:07:34 1548 Creating a new instance of the add-in loader.
11:07:34 1548 Success.
11:07:34 1548 Loading the configuration from the system registry.
11:07:34 1548 Getting the lates CLR version.
11:07:34 1548 The latest CLR version is 'v2.0.50727'.
11:07:34 1548 The configuration has been loaded successfully.
11:07:34 1548 Runtime version: v2.0.50727.
11:07:34 1548 Assembly name: HPOutlookSearch, PublicKeyToken=602EEA34ADA86E66.
11:07:34 1548 Class name: HP.EAsE.ArchiveSearch.AddinCore.
11:07:34 1548 Attempting to create a new instance of the managed add-in class: CLR - v2.0.50727
11:07:34 1548 Loading CLR: v2.0.50727.
11:07:34 1548 The CLR v2.0.50727 has been initialized successfully.
11:07:34 1548 Creating a new domain setup.
11:07:34 1548 Success.
11:07:34 1548 Getting the add-in directory.
11:07:34 1548 Success. The directory is 'C:\Program Files\Hewlett-Packard\HP EAsE Outlook Plug-In\'
11:07:34 1548 The 'shadow copy' is enabled.
11:07:34 1548 Creating a new application domain.
11:07:34 1548 Success.
11:07:44 1548 Unwrapping the managed class.
11:07:45 1548 Success.
11:07:45 1548 Querying the add-in extensibility.
11:07:45 1548 Querying the custom task panes.
11:07:45 1548 Querying the ribbon extensibility.
11:07:45 1548 Success.
11:07:45 1548 Querying the form regions.
11:07:45 1548 Success.
11:07:45 1548 The managed add-in class has been created successfully.

Regards,
Steve Y
Posted 12 Jan, 2010 08:15:13 Top
Sridhar Kapavarapu




Posts: 59
Joined: 2009-07-29
Hi Steve,

This problem is still exists. We are in discussions with our project management whether to provide source code or pseudo code to add-in express team.

Regards
Sridhar K.
Posted 19 Jan, 2010 23:39:10 Top
Andrei Smolin


Add-in Express team


Posts: 8675
Joined: 2006-05-11
Hi Sridhar,

If the issue is reproducible on a sample add-in, you can send us the code of that add-in instead. But we've never been able to reproduce the delay on our machines...

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Jan, 2010 05:37:45 Top
Sridhar Kapavarapu




Posts: 59
Joined: 2009-07-29
Hi Andrei,

I have now mailed the project to you. I hope you can get something out of it.

Regards
Sridhar K
Posted 11 Feb, 2010 00:02:34 Top
Andrei Smolin


Add-in Express team


Posts: 8675
Joined: 2006-05-11
Hi Sridhar,

I've got the project. As soon as I have any news for you, I'll post it here.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 11 Feb, 2010 09:48:14 Top
Andrei Smolin


Add-in Express team


Posts: 8675
Joined: 2006-05-11
Hi Sridhar,

Please note that the Add-in Express version that you use isn't supported any longer. I suggest that you move all custom initialization code from the constructor of the add-in module to the AddinInitialize or even AddinStartupComplete event of the module. Also, if the delay occurs in an Outlook+Exchange configuration, pay attention to http://www.add-in-express.com/forum/read.php?FID=5&TID=2126&MID=11800#message11800.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Feb, 2010 03:53:09 Top
Sridhar Kapavarapu




Posts: 59
Joined: 2009-07-29
Hi Andrei,

Thanks for your reply, i will implement your suggestion in our code and i will let you know.


Regards
Sridhar K
Posted 15 Feb, 2010 05:41:38 Top
Andrei Smolin


Add-in Express team


Posts: 8675
Joined: 2006-05-11
Hi Sridhar,

If the suggestions above don't help, please see: Code signing performance problems with Check for Publisher's Certificate Revocation.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 15 Feb, 2010 05:46:23 Top