Loader failing

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

Loader failing
 
Chris Ducharme




Posts: 23
Joined: 2013-05-09
Hi

We have an add-in that seems to be failing during the loading. Then we do a installation repair and it starts working.
It is on the same machine and sometimes it works, sometimes it does not.

Any ideas that might help?

Then adxloader.log for when it does not load correctly:
Add-in Express Loader Log File: 04/03/2018 08:57:04:602

Startup directory: C:\Program Files (x86)\Minisoft\ARCS\
Loader version: 8.6.4408.0
Operating System: Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
08:57:04:606 6720 8592 Start.
08:57:04:607 6720 8592 Creating a new instance of the add-in loader.
08:57:04:607 6720 8592 Loading mscoree.dll
08:57:04:608 6720 8592 Success.
08:57:04:608 6720 8592 Loading the configuration from the system registry.
08:57:04:609 6720 8592 Getting the latest CLR version.
08:57:04:610 6720 8592 The latest CLR version is 'v4.0.30319'.
08:57:04:610 6720 8592 The configuration has been loaded successfully.
08:57:04:611 6720 8592 Runtime version: v4.0.30319.
08:57:04:611 6720 8592 Assembly name: ARCSOutlookAddIn.
08:57:04:611 6720 8592 Class name: ARCSOutlookAddIn.AddinModule.
08:57:04:611 6720 8592 Registry key: CLSID\{D482895D-CBD2-4261-9CE3-3B82BF229DED}.
08:57:04:956 6720 8592 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
08:57:04:956 6720 8592 Loading CLR: v4.0.30319.
08:57:04:956 6720 8592 Calling CLRCreateInstance method.
08:57:04:956 6720 8592 Success.
08:57:04:956 6720 8592 Calling GetRuntime method.
08:57:04:957 6720 8592 Success.
08:57:04:957 6720 8592 Checking if the hosting API of .NET Framework v4.0 beta is installed.
08:57:04:957 6720 8592 The hosting API is up to date.
08:57:04:958 6720 8592 Calling GetInterface method for the CorRuntimeHost interface.
08:57:04:959 6720 8592 Error code: 0x80131022



Then we do the repair and:
Add-in Express Loader Log File: 04/03/2018 09:07:00:803

Startup directory: C:\Program Files (x86)\Minisoft\ARCS\
Loader version: 8.6.4408.0
Operating System: Microsoft Windows 7 Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files\Microsoft Office\root\Office16\OUTLOOK.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
09:07:00:808 6608 4384 Start.
09:07:00:808 6608 4384 Creating a new instance of the add-in loader.
09:07:00:809 6608 4384 Loading mscoree.dll
09:07:00:810 6608 4384 Success.
09:07:00:810 6608 4384 Loading the configuration from the system registry.
09:07:00:810 6608 4384 Getting the latest CLR version.
09:07:00:812 6608 4384 The latest CLR version is 'v4.0.30319'.
09:07:00:812 6608 4384 The configuration has been loaded successfully.
09:07:00:812 6608 4384 Runtime version: v4.0.30319.
09:07:00:812 6608 4384 Assembly name: ARCSOutlookAddIn.
09:07:00:812 6608 4384 Class name: ARCSOutlookAddIn.AddinModule.
09:07:00:812 6608 4384 Registry key: CLSID\{D482895D-CBD2-4261-9CE3-3B82BF229DED}.
09:07:00:938 6608 4384 Attempting to create a new instance of the managed add-in class: CLR - v4.0.30319
09:07:00:938 6608 4384 Loading CLR: v4.0.30319.
09:07:00:938 6608 4384 Calling CLRCreateInstance method.
09:07:00:938 6608 4384 Success.
09:07:00:938 6608 4384 Calling GetRuntime method.
09:07:00:938 6608 4384 Success.
09:07:00:938 6608 4384 Checking if the hosting API of .NET Framework v4.0 beta is installed.
09:07:00:938 6608 4384 The hosting API is up to date.
09:07:00:939 6608 4384 Calling GetInterface method for the CorRuntimeHost interface.
09:07:00:939 6608 4384 Success.
09:07:00:939 6608 4384 Starting CLR...
09:07:00:939 6608 4384 Success.
09:07:00:939 6608 4384 Getting the CLR version.
09:07:00:939 6608 4384 The CLR v4.0.30319 has been initialized successfully.
09:07:00:939 6608 4384 Creating a new domain setup.
09:07:00:941 6608 4384 Success.
09:07:00:941 6608 4384 Getting the add-in directory.
09:07:00:941 6608 4384 Success. The directory is 'C:\Program Files (x86)\Minisoft\ARCS\'
09:07:00:945 6608 4384 The 'shadow copy' is disabled.
09:07:00:945 6608 4384 Creating a new application domain.
09:07:00:955 6608 4384 Success.
09:07:00:955 6608 4384 Creating an instance of the managed class. Assembly identity: 'ARCSOutlookAddIn'
09:07:01:223 6608 4384 Success.
09:07:01:223 6608 4384 Unwrapping the managed class.
09:07:01:230 6608 4384 Success.
09:07:01:230 6608 4384 Querying the add-in extensibility.
09:07:01:230 6608 4384 Success.
09:07:01:230 6608 4384 Querying the custom task panes.
09:07:01:230 6608 4384 Success.
09:07:01:230 6608 4384 Querying the ribbon extensibility.
09:07:01:230 6608 4384 Success.
09:07:01:231 6608 4384 Querying the form regions.
09:07:01:231 6608 4384 Success.
09:07:01:231 6608 4384 Querying the encryption provider.
09:07:01:231 6608 4384 The 'EncryptionProvider' interface is not supported.
09:07:01:231 6608 4384 Getting the dispid of the 'Dispose' method.
09:07:01:237 6608 4384 Success.
09:07:01:237 6608 4384 The instance of the managed add-in class has been created successfully.


Thanks

Chris
Posted 03 Apr, 2018 11:35:50 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
Hello Chris,

1. Try to enable .NET 3.5 on that machine.
2. Check if the issue depends on other COM add-ins enabled.
3. Try to use the latest loader version; see https://www.add-in-express.com/downloads/adxloader.php.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Apr, 2018 02:28:25 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
Also, make sure you don't deploy a .TLB file with your add-in (unless you deploy such a file on purpose).

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 04 Apr, 2018 02:32:06 Top
Chris Ducharme




Posts: 23
Joined: 2013-05-09
I tried your suggestions, and there we are still having the problem.

Here is a little more info from the QA tester that is having the problem. It only appears to be happening on one machine. Tested on other machines.

It seems to install far enough that it appears in the outlook Active Applications Add-in section, but when you press the "Add in options" button, it comes up with the "There are no add-in property pages to display." message box.
Posted 05 Apr, 2018 11:00:42 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
Hello Chris,

1. When you install the add-in, the adxregistrator.exe custom action is run; it registers the add-in in registry keys mentioned in adxregistrator.log. Repairing the add-in doesn't run custom actions; this only updates the files deployed. That is, the issue may be caused by something on the registration phase or it may relate to the files deployed. Please reinstall the add-in, reproduce the issue, and send me adxregistrator.lpg. I wonder how many files beside those listed in section Files to Deploy at https://www.add-in-express.com/docs/net-deployment-considerations.php#files? Do you deploy any .NET Framework assemblies? Please provide adxloader.dll.manifest of your add-in.

2. 0x80131022 stands for Invalid operation; see https://blogs.msdn.microsoft.com/yizhang/2010/12/17/interpreting-hresults-returned-from-netclr-0x8013xxxx/. Could you please confirm that the issue occurs even if there's no other COM add-ins enabled when the add-in starts for the first time?

Chris Ducharme writes:
but when you press the "Add in options" button, it comes up with the "There are no add-in property pages to display." message box.


This is normal: none of the loaded add-ins adds a property page to that dialog.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 06 Apr, 2018 03:47:29 Top
Chris Ducharme




Posts: 23
Joined: 2013-05-09
I got some time to work on this and our add-in seems to be conflicting with another add-in.

Then add-in is "Microsoft Teams Meeting Add-in for Microsoft Office", is there something i can do to make our add-in work with their add-in?

Thanks

Chris.
Posted 10 Apr, 2018 09:27:14 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
I've got that add-in installed on my machine. The issue doesn't seemingly occur for me. The add-ins I have use adxloader version 8.7 and above. I suggest that you install the latest Add-in Express build; see https://www.add-in-express.com/downloads/adxnet.php.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Apr, 2018 10:38:59 Top
Chris Ducharme




Posts: 23
Joined: 2013-05-09
I installed the latest version and it seemed to fix the problem. Thanks for the help.
Posted 12 Apr, 2018 10:26:15 Top
Andrei Smolin


Add-in Express team


Posts: 16616
Joined: 2006-05-11
You are welcome!

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Apr, 2018 08:14:59 Top