ADX Registration Error

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

ADX Registration Error
 
Kjell Risholm




Posts: 4
Joined: 2007-01-16
Hi,

Having the same error as descibed http://www.add-in-express.com/forum/read.php?FID=5&TID=1760 and http://www.add-in-express.com/forum/read.php?FID=5&TID=1764

It was working fine with my addin which was supporting Word/Excel/PowerPoint. I then had to install Visio/MS Project 2003 Standard to support those to. Both of these got SP2 from Windows update.

My adxloader.log shows this:

Add-in Express Loader Log File: 01/16/2007 21:51:09

Startup directory: C:\Work\MyAddin2\MyAddin2\bin\Debug\
------------------
21:51:09 1840 Starting the add-in registration process.
21:51:09 1840 Getting the default version of the .NET Framework.
21:51:09 1840 Success (v2.0.50727).
21:51:09 1840 Loading CLR: v2.0.50727.
21:51:09 1840 The CLR (v2.0.50727) has been initialized successfully.
21:51:09 1840 Creating a new domain setup.
21:51:09 1840 Success.
21:51:09 1840 Getting the add-in directory.
21:51:09 1840 Success. The directory is 'C:\Work\MyAddin2\MyAddin2\bin\Debug\'
21:51:09 1840 The 'shadow copy' is disabled.
21:51:09 1840 Creating a new application domain.
21:51:09 1840 Success.
21:51:09 1840 Getting the base directory for the domain.
21:51:09 1840 Success. The directory is 'C:\Work\MyAddin2\MyAddin2\bin\Debug\'.
21:51:09 1840 Seaching for the Add-in Express core library.
21:51:09 1840 Error: The ADX loader has found no Add-in Express core library.
21:51:09 1840 The add-in registration process is complete with HRESULT = -2147483646.


Any idea?

Hmm, have to clarify myself a bit here. The log output is from a testproject i was trying first with Register ADX Project from within VS2005, then manually with regsvr32. After doing "copy local" on AddinExpress.MSO.2005 and Extensibility I could succsessfully do regsvr32 on adxloader.
The "Unable to create proxy for the ADXPrimaryOutput class" error when doing Register ADX Project from within VS2005 SP1 still stands though.
Posted 16 Jan, 2007 16:18:27 Top
Sergey Grischenko


Add-in Express team


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

The error in the loader log says that you need to include the AddinExpress.MSO assembly in the setup project.
Posted 17 Jan, 2007 08:00:19 Top
Brad Smith




Posts: 49
Joined: 2005-11-22
What is this adxloader.log? I can't seem to find documentation on how this is supposed to be created. I think my Setup is correct but I'm getting (I *think* the same problem). I can't tell because the error message is even more useless than what others are seeing, most likely caused by something bad happening when upgrading from ADX.NET 2.7 to 3.0.

Brad.
Posted 17 Jan, 2007 11:41:38 Top
Brad Smith




Posts: 49
Joined: 2005-11-22
I found a reference into a document here (after doing a Google search). But it doesn't work for me. I changed the manifest, uninstalled, reinstalled, launched Outlook, and there's no log file anywhere on my system. What am I missing?
Posted 17 Jan, 2007 12:03:12 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
The "Unable to create proxy for the ADXPrimaryOutput class" error when doing Register ADX Project from within VS2005 SP1 still stands though.

Kjell, do you have DevExpress components installed on your PC?
If so, please try to uninstall them and register the add-in again.
Please let me know about results.
Posted 17 Jan, 2007 12:26:02 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Brad, what exactly error do you get?
You can find the documentation in the installation folder of the Add-in Express 2007 for .NET (v3.1 or v3.2) product.
Posted 17 Jan, 2007 12:27:59 Top
Kjell Risholm




Posts: 4
Joined: 2007-01-16
Hi Sergey,

I do have DevExpress components and also RefactorPro/CodeRush installed. I will try deinstalling at work tomorrow and let you know the results. The error I have isn't that big a deal as I can just do regsvr32 on adxloader.dll in the bin/Debug directory of my addin to achieve the same results, but it would be nice to have sorted it out anyway. By the way, it doesn't create adxloader.log on unsuccessful Register..., only when done by regsvr32.
Posted 17 Jan, 2007 15:25:26 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Yes, the adxloader.log file is created while the add-in is registered via the installer or the regsvr32 tool.
Posted 17 Jan, 2007 16:13:43 Top
Kjell Risholm




Posts: 4
Joined: 2007-01-16
Uninstalling CodeRush/Refactor/DXCore did the trick
Posted 18 Jan, 2007 06:09:31 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Kjell, I found a workaround. As it turned out, the DXCore library registered its own AssemblyResolver. It prevented Add-in Express Wizard from working correctly in VS environment. To avoid this issue please add the AddinExpress.Wizard.dll to the GAC. It can be done via two instances of the Windows Explorer.

1. Open the GAC folder in the first explorer.
2. Open the Add-in Express installation folder in the second explorer
(.\Bin\Packages\VS2005).
3. Drag and drop the AddinExpress.Wizard.dll assembly from the first
explorer to the second one.
4. Restart VS.

I will fix this issue in the next Add-in Express build. Please don't forget to remove the AddinExpress.Wizard.dll from the GAC manually before you uninstall the Add-in Express product.
Posted 18 Jan, 2007 10:08:33 Top