Registration Failed

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

Registration Failed
 
srikanth g




Posts: 34
Joined: 2010-12-31
Hi Every one,
I got the below exception when i am trying to register the addin of msword.

What Happened..
AddinExpress.Projects.Common.Registrator error: the wizard has fired an exception.

Error occured in the code of Add-in Express .NET Package library

Detailed technical information follows:
---
(Inner Exception)
(Inner Exception)
Date and Time: 1/18/2011 6:03:59 PM
Machine Name: SYSTEM15
IP Address: 192.168.1.22
Current User: SYSTEM15\srikanth

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

Exception Source: IRMAddIn
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----



(Outer Exception)
Date and Time: 1/18/2011 6:03:59 PM
Machine Name: SYSTEM15
IP Address: 192.168.1.22
Current User: SYSTEM15\srikanth

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.2.3049.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.2.3049.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: 1/18/2011 6:03:59 PM
Machine Name: SYSTEM15
IP Address: 192.168.1.22
Current User: SYSTEM15\srikanth

Application Domain: DefaultDomain
Assembly Codebase: file:///C:/Program Files/Add-in Express/Add-in Express for .NET/Bin/Packages/VS2005/AddinExpress.Wizard.dll
Assembly Full Name: AddinExpress.Wizard, Version=6.2.3049.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 6.2.3049.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
Posted 18 Jan, 2011 06:49:31 Top
Eugene Astafiev


Guest


Hi Srikanth,

I have a bunch of questions for you:
1. What OS do you use?
2. Do you have any custom code in the add-in module ctor?
3. Are you able to reproduce the issue with a newly created add-in project?

Please note that you use an old build of Add-in Express 2010. You can download a fresh build from http://www.add-in-express.com/downloads/adxnet.php. Also please don't forget to replace the adxloader.dll (and its 64 bits version too) file in the Loader folder of your project with a new one (see the Redistributables folder).
Posted 18 Jan, 2011 07:12:37 Top
srikanth g




Posts: 34
Joined: 2010-12-31
Hi Eugene,
Thanks for the quick reply..
I am developing the Addin in C#.net

Yeah got it.
actually i am calling another function in the AddinModule().

any way thanks for you suggestion Eugene
Posted 18 Jan, 2011 07:54:44 Top
Eugene Astafiev


Guest


Hi Srikanth,

Please try to move any custom code from the add-in module ctor to the AddinInitialize or AddinStartupComplete event handlers. Does it help?
Posted 18 Jan, 2011 08:24:34 Top
srikanth g




Posts: 34
Joined: 2010-12-31
Yes ofcourse..... :D :D :D
Posted 19 Jan, 2011 00:24:12 Top
Eugene Astafiev


Guest


Good news! Thank you for letting me know, Srikanth!
Posted 19 Jan, 2011 05:06:55 Top
srikanth g




Posts: 34
Joined: 2010-12-31
its always my pleasure Eugene....
Posted 19 Jan, 2011 05:25:14 Top