AddinExpress.IE.Deployment.AddinDomainAdapter Error

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

AddinExpress.IE.Deployment.AddinDomainAdapter Error
Error on install ONLY on upgrade 
David Seger




Posts: 13
Joined: 2009-11-12
I am getting the following error on installation, but only if the install is an upgrade of a previous version. I am using v2009 of the IE add in in Visual Studio 2008 and am developing / compiling on a Windows 7 machine. The error occurs during both XP and Windows 7 upgrades.

AddinExpress.IE.Deployment.AddinDomainAdapter error: the setup has fired an exception.

Where:
The registration fails. See 'Details' section to get more detailed information about the error.

Details:
Detailed technical information follows:
---
Date and Time: 2/10/2010 4:07:02 PM
Machine Name: SMARTPOPSTEST1
IP Address: 10.0.2.15
Current User: NT AUTHORITY\SYSTEM

Application Domain: adxregext.exe
Assembly Codebase: file:///C:/Program Files/inBusiness Services Inc/360 View SmartPops/adxregext.exe
Assembly Full Name: adxregext, Version=5.2.262.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 5.2.262.0
Assembly Build Date: 12/2/2009 4:32:08 PM

Exception Source: mscorlib
Exception Type: System.IO.FileLoadException
Exception Message: Could not load file or assembly 'AddinExpress.IE, Version=5.2.261.0, Culture=neutral, PublicKeyToken=4416dd98f0861965' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Exception Target Site: GetExportedTypes

---- Stack Trace ----
System.Reflection.Assembly.GetExportedTypes()
adxregext.exe: N 00000 (0x0) JIT
AddinExpress.IE.Deployment.AddinDomainAdapter.GetRegistrableTypesInAssembly(assembly As Assembly)
adxregext.exe: N 0000 (0x0) IL
AddinExpress.IE.Deployment.AddinDomainAdapter.RegisterAssembly(assembly As Assembly, flags As AssemblyRegistrationFlags)
adxregext.exe: N 0073 (0x49) IL
AddinExpress.IE.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean)
adxregext.exe: N 0051 (0x33) IL
Posted 10 Feb, 2010 16:15:23 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi David.

Did you uninstall the previous version of the add-on completely before you installed a new one ?
Posted 11 Feb, 2010 10:37:49 Top
David Seger




Posts: 13
Joined: 2009-11-12
Sorry, this is when my application is installed on a user's machine.
Posted 11 Feb, 2010 11:32:54 Top
David Seger




Posts: 13
Joined: 2009-11-12
I installed Add-In-Express for IE 2010 and am still having the same problem.

Here's some additional summary:

- Under Windows XP I created an add on and used the installer that was automatically created. I compiled and released version 1.1.4 of my application from this environment.
- Last month I got a new development machine running Windows 7. I opened the solution as before, made some changes and incremented the version number on the installer to 1.1.5.
- The installer is configured to upgrade previous versions.

When I try to install the new version of my application on a machine that's already running the old one I get the error outlined above.
Posted 11 Feb, 2010 15:17:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi David.

To upgrade your add-on you need to uninstall the old version completely using the Add/Remove Programs dialog and then install a new verion.
Or you can use the Web Deployment feature available via the 'Publish ADX Project' option of the project context menu (see the 'Web-based Deployment and Update' chapter in our documentation).
Posted 12 Feb, 2010 10:41:29 Top
David Seger




Posts: 13
Joined: 2009-11-12
Actually I discovered the problem this morning. I failed to increment the version number in my Add On. As a result, the Windows installer was not overwriting the old version with the new (since version numbers matched).

Thanks for your help.
Posted 12 Feb, 2010 10:54:07 Top