getting error on registering addin

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

getting error on registering addin
 
Harald Binkle


Guest


Hi,
I just got this error on registering the addin:


Detailed technical information follows:
---
(Inner Exception)
(Inner Exception)
Date and Time: 15.06.2011 16:15:53
Machine Name: HARRY
IP Address: fe80::11c4:690d:1392:be94%11
Current User: INTRANET\binkle

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.4.3056.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.4.3056.2005

Exception Source: System.Windows.Forms
Exception Type: System.IndexOutOfRangeException
Exception Message: Index was outside the bounds of the array.
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----



(Outer Exception)
Date and Time: 15.06.2011 16:15:53
Machine Name: HARRY
IP Address: fe80::11c4:690d:1392:be94%11
Current User: INTRANET\binkle

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.4.3056.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.4.3056.2005

Exception Source: mscorlib
Exception Type: System.Reflection.TargetInvocationException
Exception Message: Exception has been thrown by the target of an invocation.
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----



(Outer Exception)
Date and Time: 15.06.2011 16:15:53
Machine Name: HARRY
IP Address: fe80::11c4:690d:1392:be94%11
Current User: INTRANET\binkle

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files (x86)/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.4.3056.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.4.3056.2005

Exception Source: AddinExpress.Wizard
Exception Type: System.Exception
Exception Message: The 'RegisterAssembly' function failed.
Exception Target Site: DoAfterBuild

---- Stack Trace ----
AddinExpress.Projects.Common.Registrator.DoAfterBuild(scope As vsBuildScope, action As vsBuildAction)
AddinExpress.Wizard.dll: N 0431 (0x1AF) IL



Greetings

Harald
Posted 15 Jun, 2011 09:32:53 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Harald,

I suggest that you check if your code initializes anything while you are registering the add-in. Note that the add-in module is created when being registered.

Does it help?


Andrei Smolin
Add-in Express Team Leader
Posted 15 Jun, 2011 09:50:55 Top
Harald Binkle


Guest


Hello Andrei,
thank you for your reply.
I guess you are right. I was not really able to locate the line of in the constructor of the addin class, but reverting my last changes done to that class fixed it.

Thanks.

Harald
Posted 16 Jun, 2011 03:35:50 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Harald,

It can be a class-level complex-type initializer...


Andrei Smolin
Add-in Express Team Leader
Posted 16 Jun, 2011 03:46:26 Top