Moved project from VS2003 to VS2005. Now shim.dll fails to register...

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

Moved project from VS2003 to VS2005. Now shim.dll fails to register...
Moved project from VS2003 to VS2005. Now shim.dll fails to register... 
d henderson




Posts: 39
Joined: 2006-03-06

History: I have built a simple addin using VB.NET-Visual Studio 2003.
I could build and deploy fine.
I have both VS2003 and VS2005 on the development machine -and- I have both the .Net 1.1 and 2.0 frameworks on the development machine.


I decided to build the project using VS2005 (Visual Studio 2005). This same project was converted with no errors by VS2005. It then compiled and built just fine. I built the setup project (no errors) and deployed the resulting 'myAddin1Setup.msi' to my target PC.

During the install of the on the target PC I get the error:
'module myAddin1Shim.dll failed to register. HResult - 214623567.

Can you give help on what is wrong here and how to correct?

Thanks - Don H.
Posted 17 Apr, 2006 14:55:39 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Don.

You need to recreate the shim project. Just create a new project with the same name in VS 2005 and copy a new shim project and .snk file to the original project folder. Aslo check the References of the add-in project for VS 2005. You should have AddinExpress.MSO.2005.dll assembly instead of AddinExpress.MSO.dll. Then open the Properties dialog of this assembly and set the 'Copy Local' and 'Specific Version 'properties to False.
Posted 18 Apr, 2006 05:42:20 Top
Finn Rasmussen




Posts: 1
Joined: 2006-04-20
Hi Sergey,

I have a similar problem. I upgraded to VS 2005 the suggested way, and I also changed AddinExpress.Install.dll to AddinExpress.Install.2005.dll in my Custom Actions. But I get this error during installation:

Detailed technical information follows:
---
Date and Time: 20-04-2006 15:24:37
Machine Name: VPC2KE
IP Address: 192.168.1.168
Current User: VPC2KE\Administrator

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Grundfos/Grundfos eBusiness Plug In/AddinExpress.Install.2005.dll
Assembly Full Name: AddinExpress.Install.2005, Version=2.4.1757.1, Culture=neutral, PublicKeyToken=null
Assembly Version: 2.4.1757.1
Assembly Build Date: 23-10-2004 01:00:02

Exception Source: AddinExpress.Install.2005
Exception Type: System.ApplicationException
Exception Message: An error occurred during the add-in registration process.
Exception Target Site: InstallAddin

---- Stack Trace ----
AddinExpress.Install.ADXProjectInstaller.InstallAddin(addinFullName As String, adxAssemblyName As String, check As String, gac As String, regasm As String)
AddinExpress.Install.2005.dll: N 0184 (0xB8) IL




Posted 20 Apr, 2006 09:40:53 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Finn.

Didn't you change the dll name (OutputName) of the add-in?
Posted 20 Apr, 2006 09:54:32 Top