Outlook plugin disabled

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

Outlook plugin disabled
 
Rohit Sinha




Posts: 3
Joined: 2016-11-28
Hello,

We have noticed multiple instances where the outlook plugin has gotten disabled. We found it was because the plugin took enough time to load, to eventually slow down the outlook loading time. Kindly suggest what needs to be done to ensure that this doesn't happen.

For your information:
1. Our plugin dll is digitally signed.
2. Loader version: 7.5.4072.0
3. Last loader log file generated in one of the computers where the plugin is disabled:

Add-in Express Loader Log File: 07/22/2016 13:28:55:005

Startup directory: C:\Program Files\lpagntsys\service\
Loader version: 7.5.4072.0
Operating System: Microsoft Windows 7 Professional Service Pack 1 (build 7601), 32-bit
Process Owner: User
Command Line: "C:\Program Files\Microsoft Office\Office14\OUTLOOK.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
13:28:55:007 7688 4244 Start.
13:28:55:008 7688 4244 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{A02CCDC6-D339-4AEA-B528-3DDEC2C9855C}'
13:28:55:008 7688 4244 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{A02CCDC6-D339-4AEA-B528-3DDEC2C9855C}' is closed.
13:28:55:008 7688 4244 Converting the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID from string.
13:28:55:008 7688 4244 Success.
13:28:55:008 7688 4244 Attempting to get the class object by the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID.
13:28:55:008 7688 4244 Success.
13:28:55:009 7688 4244 Creating a new instance of the add-in loader.
13:28:55:009 7688 4244 Loading mscoree.dll
13:28:55:009 7688 4244 Success.
13:28:55:009 7688 4244 Loading the configuration from the system registry.
13:28:55:010 7688 4244 Getting the latest CLR version.
13:28:55:056 7688 4244 The latest CLR version is 'v4.0.30319'.
13:28:55:057 7688 4244 The configuration has been loaded successfully.
13:28:55:057 7688 4244 Runtime version: v4.0.30319.
13:28:55:057 7688 4244 Assembly name: lpolagnt, PublicKeyToken=F9A39584294F5514.
13:28:55:057 7688 4244 Class name: gd.
13:28:55:057 7688 4244 Registry key: CLSID\{A02CCDC6-D339-4AEA-B528-3DDEC2C9855C}.
13:28:55:057 7688 4244 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
13:28:55:057 7688 4244 Loading CLR: v4.0.30319.
13:28:55:057 7688 4244 Calling CLRCreateInstance method.
13:28:55:057 7688 4244 Success.
13:28:55:057 7688 4244 Calling GetRuntime method.
13:28:55:057 7688 4244 Success.
13:28:55:057 7688 4244 Checking if the hosting API of .NET Framework v4.0 beta is installed.
13:28:55:372 7688 4244 The hosting API is up to date.
13:28:55:372 7688 4244 Calling GetInterface method for the CorRuntimeHost interface.
13:28:55:372 7688 4244 Success.
13:28:55:372 7688 4244 Starting CLR...
13:28:55:372 7688 4244 Success.
13:28:55:372 7688 4244 Getting the CLR version.
13:28:55:372 7688 4244 The CLR v4.0.30319 has been initialized successfully.
13:28:55:372 7688 4244 Creating a new domain setup.
13:28:55:674 7688 4244 Success.
13:28:55:674 7688 4244 Getting the add-in directory.
13:28:55:674 7688 4244 Success. The directory is 'C:\Program Files\lpagntsys\service\'
13:28:55:700 7688 4244 The 'shadow copy' is disabled.
13:28:55:700 7688 4244 Creating a new application domain.
13:28:56:026 7688 4244 Success.
13:28:56:026 7688 4244 Creating an instance of the managed class. Assembly identity: 'lpolagnt, PublicKeyToken=F9A39584294F5514'
13:28:57:011 7688 4244 Success.
13:28:57:011 7688 4244 Unwrapping the managed class.
13:28:57:357 7688 4244 Success.
13:28:57:357 7688 4244 Querying the add-in extensibility.
13:28:57:378 7688 4244 Success.
13:28:57:378 7688 4244 Querying the custom task panes.
13:28:57:378 7688 4244 Success.
13:28:57:378 7688 4244 Querying the ribbon extensibility.
13:28:57:378 7688 4244 Success.
13:28:57:378 7688 4244 Querying the form regions.
13:28:57:379 7688 4244 Success.
13:28:57:379 7688 4244 Getting the dispid of the 'Dispose' method.
13:28:57:421 7688 4244 Success.
13:28:57:422 7688 4244 The managed add-in class has been created successfully.
Posted 29 Nov, 2016 02:53:31 Top
Andrei Smolin


Add-in Express team


Posts: 14140
Joined: 2006-05-11
Hello Rohit,

I see two time gaps:
- the add-in spends a second to check the .NET Framewrok version, to start CLR and create an AppDomain
- another second is required to create an instance of the add-in module

I suggest that you check if the same time gaps exist if you create a new empty add-in project.

Rohit Sinha writes:
We found it was because the plugin took enough time to load, which slowed the outlook loading time.


Because your add-in loads slowly? Or because your add-in slows down switching between folders? Could you please specify?

Are there other add-ins enabled when this issue occurs?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 29 Nov, 2016 05:56:10 Top
Rohit Sinha




Posts: 3
Joined: 2016-11-28
Hello Andrei,

Thanks for your prompt reply

Because your add-in loads slowly? Or because your add-in slows down switching between folders? Could you please specify?


Well, the message outlook displayed was:
User added an image


And while investigating other computers where the plugin is disabled, we came across this event which says outlook plugin took longer than expected to disconnect.
User added an image

And in this computer, other add-ins which were loaded by outlook when the plugin was last loaded successfully are depicted in the following log:

Log Name: Application
Source: Outlook
Date: 29/07/2016 10:39:15
Event ID: 45
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer:
Description:
Outlook loaded the following add-in(s):


Name: Microsoft Exchange Add-in
Description: Exchange support for Unified Messaging, e-mail permission rules, and calendar availability.
ProgID: UmOutlookAddin.FormRegionAddin
GUID: {F959DBBB-3867-41F2-8E5F-3B8BEFAA81B3}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files (x86)\Microsoft Office\Office15\ADDINS\UmOutlookAddin.dll
Boot Time (Milliseconds): 0

Name: Kaspersky Outlook Anti-Virus Addin
Description: Addin for anti-virus protection
ProgID: OutlookKLAvPlg.Addin
GUID: {AA9F1045-4A07-433F-9B79-F8303066259D}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security 10 for Windows\mcou.dll
Boot Time (Milliseconds): 32

Name: Outlook_Plugin
Description: gd
ProgID: Outlook_Plugin.AddinModule
GUID: {A02CCDC6-D339-4AEA-B528-3DDEC2C9855C}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files\lpagntsys\service\adxloader.dll
Boot Time (Milliseconds): 0

Name: OneNote Notes about Outlook Items
Description: Adds Send to OneNote and Notes about this Item buttons to the command bar
ProgID: OneNote.OutlookAddin
GUID: {93E5752E-B889-47C5-8545-654EE2533C64}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files (x86)\Microsoft Office\Office15\ONBttnOL.dll
Boot Time (Milliseconds): 0

Name: Google Apps Sync for Microsoft Outlook® Addin
Description: Google Apps Sync for Microsoft Outlook® Addin
ProgID: GoogleAppsSync.Connect
GUID: {CCBAFC82-4B75-42A4-85A5-B173B5460181}
Load Behavior: 3
HKLM: 1
Location: C:\Program Files (x86)\Google\Google Apps Sync\gsync32.dll
Boot Time (Milliseconds): 15

Name: Microsoft SharePoint Server Colleague Import Add-in
Description: The Add-in allows Microsoft SharePoint Server to import colleague suggestions based on your Outlook content
ProgID: ColleagueImport.ColleagueImportAddin
GUID: {EFEF7FDB-0CED-4FB6-B3BB-3C50D39F4120}
Load Behavior: 3
HKLM: 0
Location: C:\Program Files (x86)\Microsoft Office\Office15\ADDINS\ColleagueImport.dll
Boot Time (Milliseconds): 0


Testing with empty add-in project would not be possible in the customer environment (where the issue has been noticed) for us. Plus, the behavior has not been consistent and once manually enabled, plugin has again loaded successfully. So, we might not be able to draw a conclusion on testing with an empty add-in project.
Posted 01 Dec, 2016 05:08:46 Top
Andrei Smolin


Add-in Express team


Posts: 14140
Joined: 2006-05-11
Hello Rohit,

The Add-in Express loader - which is a COM Office from the viewPoint of Office - does close to nothing in the events that Outlook uses to measure the load time. It actually loads your add-in - and this may take a lot of time - in another event(s) that Outlook doesn't use for load time measurements.

Still sometimes I saw Outlook suggesting disabling an Add-in Express add-in. I have an impression that in this case something slows down *all* of the add-ins loading in this Outlook session; the impression may be wrong. Anyway, I have never been able to reproduce this issue.

In your case, will you be able to study the system logs in order to find out any extra detail about the situation(s) in which your add-in gets disabled?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 01 Dec, 2016 06:56:38 Top
Rohit Sinha




Posts: 3
Joined: 2016-11-28
Hello Andrei,

We would check for extra details and let you know if anything comes up.

Meanwhile wanted to confirm whether it could be because of certificate revocation check? As our plugin is digitally signed. If yes, then how can we identify if it is the reason and what should we do to handle it?

Also, would the possibility of add-in getting disabled minimise if we update the loader to its latest version? Our current version is 7.5.4072.0.
Posted 05 Dec, 2016 04:08:04 Top
Andrei Smolin


Add-in Express team


Posts: 14140
Joined: 2006-05-11
Hello Rohit,

Rohit Sinha writes:
Meanwhile wanted to confirm whether it could be because of certificate revocation check?


I know that the certificate revocation check added to the load time when you used .NET 2.0. Find extra info in section Delays at add-in start-up at https://www.add-in-express.com/docs/net-tips.php#delays.

Rohit Sinha writes:
Also, would the possibility of add-in getting disabled minimise if we update the loader to its latest version?


I don't think so.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 05 Dec, 2016 06:42:20 Top