AdxExpress.MSO, GAC, adxloader.dll and installation

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

AdxExpress.MSO, GAC, adxloader.dll and installation
What goes where and how in production? 
Ralph Smith




Posts: 45
Joined: 2006-06-19
My addin made with 2.7 and uses the new adxloader fails to run on production machines. It installs without error, but when Outlook is run I get an error about AdxExpress.MSO.ADXRemoteObjects and a few other ADX classes not being found. Same error as http://www.add-in-express.com/forum/read.php?FID=5&TID=1314&MID=6094&phrase_id=251968#message6094
. I also use the webPane on an Outlook folder coincidently.

I tried putting AdxExpress.MSO in the GAC instead of the Application Folder, but that causes the installer to fail with error "DllRegister failed with HRESULT = -2147024894". I haven't renamed anything. Just changed the install target folder for AdxExpress.MSO to be the GAC of install machine. Should AdxExpress.OL be in the GAC as well? Anything else? Should extensibility be in there?

Any help would be appreciated.

Thanks
Posted 30 Aug, 2006 20:59:26 Top
David Ing




Posts: 56
Joined: 2006-06-27
I'll defer to the official Addin-Express advice is here, but if you're in a rush then here's what I have found and use:

(1) If you use a webPane Outlook Extension folder then you do need AdxExpress.MSO in the GAC. If you don't then you won't.

(2) extensibility.dll always needs to be with the AdxExpress.MSO, so put it in the GAC too.

(3) Nothing else goes in the GAC, and can stay in the app directory with the main add-in dll and it's dependancies. Normal .NET probe path rules apply, i.e. if you use a 3rd party control that needs to be GAC'd etc..

Again, this works for me but isn't exactly what the latest deployment guide says [ http://www.add-in-express.com/forum/read.php?FID=5&TID=1294 ]...
Posted 31 Aug, 2006 14:02:22 Top
Sergey Grischenko


Add-in Express team


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

You need to put the AddinExpress.MSO.dll to the Application folder and in the GAC.
Posted 31 Aug, 2006 17:04:55 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello David, Sergey,

Thank you for both of your recommendations.

I've put AddinExpress.MSO.dll in both App folder and GAC, and extensibility in the GAC. I still get the "DllRegister failed with HRESULT = -2147024894" error.

I don't get that error on all machines though. It has worked on both machines with Visual Studio installed. I do not know if that was the only connection though.

Any clue?

Best regards,
Kervin
Posted 01 Sep, 2006 00:25:30 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
The setup installs when I remove ADXOlFormContainer.2005.msm from the setup project. Do I need this?

Also after install, the I see a red 'x', the one that shows when a page or icon can't be found, displayed where by form should be.
Posted 01 Sep, 2006 02:57:39 Top
Sergey Grischenko


Add-in Express team


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

Yes, the ADXOlFormContainer.2005.msm module is required for your add-in.
What version of the 'ADX Extensions for Outlook' product do you use?
Posted 01 Sep, 2006 05:39:45 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello Sergey,

I use the latest 2.7 build with Adxloader

Thanks
Posted 01 Sep, 2006 12:23:53 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Strange fix.

After I removed ADXOlFormContainer.2005.msm install worked but Addin failed.

When I added ADOlFormContainer.2005.msm back, both the install and the Addin worked.

Best regards
Posted 01 Sep, 2006 13:42:21 Top
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello Sergey,

I am getting this -2147024894 ( file not found?? ) error again when DllRegister() and DllUnregister() is called.

Can you tell me the files that these functions access? This error messsage is not much to go on.

I have tried everything in the deployment guide, and have tried everything else I can think of. Checked that the manifest file had the proper name, that Addin Express MSO assembly was in app folder and GAC, etc. Nothing has worked.

Would it be possible to have DllRegister() and DllUnregister() return more info on error?

Thanks
Posted 11 Sep, 2006 22:03:00 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Ralph, in the current ADX version the DllRegister and DllUnregister functions don't return any additional information except the HResult value. I will change it a bit later in the next build. Can you send me the project? I will try to help.
Posted 12 Sep, 2006 06:56:12 Top