Not loaded. A runtime error has occured during the loading of the com addin

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

Not loaded. A runtime error has occured during the loading of the com addin
Addin not loading 
Mark Daly




Posts: 15
Joined: 2009-08-17
Creating an Outlook 2010 com addin.

When installing it using the MSi or exe the installer states installed successfully



Add-in Express Registrator Log File: 07/08/2012 11:48:52

Installation directory: C:\tmp\Tr@ceR\
Registrator version: 6.7.3062.0
Operating System: Microsoft Windows 7 Professional (build 7600), 32-bit
Process Owner: Administrator
Command Line: "C:\tmp\Tr@ceR\adxregistrator.exe" /install="TracerOffice2010.dll" /privileges=user
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): On
--------------------------------------------------------------
11:48:52 0168 Starting the add-in registration process.
11:48:52 0168 Loading mscoree.dll
11:48:52 0168 Success.
11:48:52 0168 .NET Framework installation directory:
11:48:52 0168 The latest version of .NET Framework: 'v4.0.30319'
11:48:52 0168 Loading CLR: v4.0.30319.
11:48:52 0168 Calling CLRCreateInstance method.
11:48:52 0168 Success.
11:48:52 0168 Calling GetRuntime method.
11:48:52 0168 Success.
11:48:52 0168 Checking if the hosting API of .NET Framework v4.0 beta is installed.
11:48:52 0168 The hosting API is up to date.
11:48:52 0168 Calling GetInterface method for the CorRuntimeHost interface.
11:48:52 0168 Success.
11:48:52 0168 Starting CLR...
11:48:52 0168 Success.
11:48:52 0168 Getting the CLR version.
11:48:52 0168 The CLR v4.0.30319 has been initialized successfully.
11:48:52 0168 Creating a new domain setup.
11:48:52 0168 Success.
11:48:52 0168 Getting the add-in directory.
11:48:52 0168 Success. The directory is 'C:\tmp\Tr@ceR\'
11:48:52 0168 The 'shadow copy' is disabled.
11:48:52 0168 Creating a new application domain.
11:48:52 0168 Success.
11:48:52 0168 Getting the base directory for the domain.
11:48:52 0168 Success. The directory is 'C:\tmp\Tr@ceR\'.
11:48:52 0168 Searching for the Add-in Express core library.
11:48:52 0168 Success. The 'AddinExpress.MSO.2005.dll' file is found.
11:48:52 0168 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
11:48:52 0168 Assembly identity is 'AddinExpress.MSO.2005'.
11:48:52 0168 Success.
11:48:52 0168 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
11:48:52 0168 Success.
11:48:52 0168 Calling the managed registration procedure.
11:48:52 0620 Connecting to the application domain of the Add-in Express loader.
11:48:52 0620 Success.
11:48:52 0620 Loading the 'traceroffice2010.dll' assembly.
11:48:52 0620 Success.
11:48:52 0620 Registering the 'traceroffice2010.dll' assembly (user).
11:48:53 0620 The ' traceroffice2010.dll' assembly has been registered successfully.
11:48:53 0168 Success.
11:48:53 0168 The add-in registration process is completed with HRESULT = 0.
Posted 07 Jul, 2012 21:12:26 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Mark,

Thank you for providing me with the adxregistrator.log file. You are right; it looks good.

May I also see the adxloader.log file? Did you have a chance to look at the Disabled Items list in the host application?

Also please take a look at the The add-in doesn't work section in the online documentation.
.NET, Extended MAPI, Windows Phone & RT
Posted 08 Jul, 2012 01:47:18 Top
Heinz-Josef Bomanns




Posts: 172
Joined: 2008-02-28
Hi Mark, Eugene,

Troubleshooting COM Add-In load failures - very helpfull TechInfo from the Visual Studio Office Development (VSOD) Support Team...
__________________
Greetings, HJB
Posted 09 Jul, 2012 01:03:16 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Heinz-Josef,

Thank you for sharing the link for other forum readers. However, the Troubleshooting COM Add-In load failures article describes VSTO based add-ins and is not related to Add-in Express. That is why I would recommend starting from the The add-in doesn't work section from the online documentation.
.NET, Extended MAPI, Windows Phone & RT
Posted 09 Jul, 2012 04:21:50 Top