Add-in Won't load

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

Add-in Won't load
Not loaded. A runtime error occurred during the loading of the COM Add-In 
Tim Kempster


Guest


Dear Board

We have a product based on Add-In express used by many thousands of users. One of our users has reported a problem where the COM Add-In is not loading. We get the error "Not loaded. A runtime error occurred during the loading of the COM Add-In".

The same code on different machines works fine it just shows up on two of his machines. He is using Word 2010 on a Windows 7 machine. The machine just suddenly stopped loading the plugin and the only changes were windows updates.

I have tried all the solutions outlined here http://blogs.msdn.com/b/vsod/archive/2008/04/22/troubleshooting-com-add-in-load-failures.aspx but none of them worked.

I also built a completely bare test add-in using Addin-Express 8 and a bare installer and tried to deploy that on the problem machine. I added no code at all to this test add-in. Still the plugin would not load.

We've also checked anti-virus on the machine and it doesn't seem to be blocking anything.

The customer has asked if it is possible for someone from Add-In express to login remotely and see if they can solve the problem and has agreed to pay a fee if required for the support. Our product is mission critical for them so they are very keen to get it sorted.

Kind Regards

Tim Kempster
Posted 11 Dec, 2015 04:12:14 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Tim,

Tim Kempster writes:
We get the error "Not loaded. A runtime error occurred during the loading of the COM Add-In".


This is an indication of an exception during add-in loading: a missing file/assembly or an exception in the code of the constructor or AddinInitialize/AddinStartupComplete events.

Please reinstall your add-in on that machine, start the host application and send me copies of these files:

- {My Documents}\Add-in Express\adxregistrator.log in the profile of the user who runs the installer
- {My Documents}\Add-in Express\adxloader.log in the profile of the user who starts the host application


Andrei Smolin
Add-in Express Team Leader
Posted 11 Dec, 2015 04:42:42 Top
Tim Kempster


Guest


I tried to email you but the email bounced. Instead I've uploaded the log files here

REMOVED

and also the bare bones project that causes the error here (visual studio 2010)

REMOVED

There was this error in the adxloader.log

11:25:07:567 1972 10536 Creating an instance of the managed class. Assembly identity: 'TTAddin, PublicKeyToken=EF4F037EC10A8E7D'
11:25:07:599 1972 10536 Invalid access to memory location.

I hope that helps.

Tim
Posted 11 Dec, 2015 13:44:56 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Tim,

Please check if all the latest updates installed on the problematic PC.
Posted 14 Dec, 2015 08:59:46 Top
Tim Kempster


Guest


Yes all updates have been installed. The add-in was working fine for a period of time and (probably due to an update) stopped working.
Posted 14 Dec, 2015 09:05:24 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Tim,

What versions of .NET Framework are installed on the PC?
Posted 14 Dec, 2015 10:56:04 Top
Tim Kempster


Guest


Version 3.5.1 and version 4.0.30319
Posted 14 Dec, 2015 12:52:40 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Tim,

Please try to uninstall v4.0 completely and disable v3.5 in the 'Turn Windows Features on or off' dialog of Windows. Then turn on v3.5 again and install the latest updates. After this, try to install v4.0 and check for updates again. Let me know if the issue still exists.
Posted 15 Dec, 2015 08:56:12 Top
Tim Kempster


Guest


HI Sergy/Andrei

Sorry for the delay in getting back to you. My client has just responded to report that your suggestion above did not help.

Any further ideas?

Tim
Posted 07 Jan, 2016 13:53:37 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Tim,

Please try to create a new simple add-in built with .NET Framework v4.X and install it on the problematic PC. Let me know if it works.
Posted 08 Jan, 2016 07:37:05 Top