|
Rob Sullivan
Posts: 42
Joined: 2011-09-01
|
Morning AddinExpress Gurus,
Wonder if you can help us please?
We have a very simple Excel Addin project - consisting of an excel ribbon and a single form. This project has been published using the "Publish ADX Project" from within VS2008 and deployed with a ClickOnce installer.
We have deployed this project on several other user PCs with no issues.
However when installing on one user's PC we see the following behaviour:
* User clicks setup.exe, downloads application..
* We get the message about closing Excel (if Excel is open)
* Message "Registration succeeded"
* Start menu items for ClickOnce register/unregister app correctly installed
but when launching Excel there is no ribbon, we cannot see the COM element of the addin within Excel addins, nor is the addin within disabled addins. It's like it just disappears completely.
* I've also tried registering the adxloader.dll within excel from a debug build of the above project - this alternate install process works on my local machine. However on user's machine we still do not see the added ribbon, nor the addin within disabled, com, or excel addins.
* I've tried rebooting users machine, same behaviour.
* I've tried uninstalling through control panel the addin, and reinstalling. Disabling and enabling the addin from the start menu, same behaviour.
* I've tried uninstalling other addins that are also deployed using the same method as above which are present on the user's machine, and then reinstalling the "troublesome" addin first. Same behaviour.
Please do you have any ideas? Are there any log files that are written anywhere regardless of the message reporting the registration succeeds? Our user is using a standard WinXP Professional build.
Thanks very much for your help. |
|
Posted 25 Apr, 2012 03:26:44
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hello Rob,
Since you mention adxloader.dll, I assume your project is an Add-in Express for Office and .NET project, not a VSTO project. Please correct me if I understand it wrongly.
Can you look into [My ]Documents\Add-in Express\adxloader.log in profile of the user running Excel? Is there anything of value?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 25 Apr, 2012 04:04:57
|
|
Top
|
|
Rob Sullivan
Posts: 42
Joined: 2011-09-01
|
Andrei,
Sorry you're right - I didn't make the distinction..
I'll have a look in the loader log and see if there's anything useful.
Thanks,
Rob |
|
Posted 25 Apr, 2012 05:44:35
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Rob,
Please copy the log here or send it to the support email address (see {Add-in Express}\readme.txt).
Andrei Smolin
Add-in Express Team Leader |
|
Posted 25 Apr, 2012 05:54:41
|
|
Top
|
|
Rob Sullivan
Posts: 42
Joined: 2011-09-01
|
Andrei,
The log is as below -
The .Net versions installed on the users machine are listed as v2.0.50727, v3.0, v3.5 and v4 (from within regedit).
Please let me know if there's anything else that we can provide in order to diagnose the issue? We now have 2 users machines with the same issue.
So far this is what we've noted
1 x User -> WinXP + Excel2007 = doesn't work
1 x User -> Win7 + Excel2010 = doesn't work
1 x User -> Win7 + Excel2010 = does work
Many x User -> WinXP + Excel2007 = does work
=============================================================
Add-in Express Loader Log File: 05/22/2012 12:00:15
Startup directory:
C:\Users\.....
Loader version: 6.5.3057.0
Operating System: Microsoft Windows 7 Enterprise Edition Service Pack 1 (build 7601), 64-bit
Process Owner: Administrator
Command Line: "C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE"
Run 'As Administrator': Yes
Process Elevated: Yes
Integrity Level: High
UAC (User Account Control): Off
================================================================
12:00:15 1888 4868 Start.
12:00:15 1888 4868 Reading the registry key 'HKEY_CLASSES_ROOT\CLSID\{7A5DC7D8-5E04-4B0B-9491-6B790DC70DC1}'
12:00:15 1888 4868 Success. The registry key 'HKEY_CLASSES_ROOT\CLSID\{7A5DC7D8-5E04-4B0B-9491-6B790DC70DC1}' is closed.
12:00:15 1888 4868 Converting the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID from string.
12:00:15 1888 4868 Success.
12:00:15 1888 4868 Attempting to get the class object by the '{4BA250A6-8BCA-46A6-982A-F340081187C3}' CLSID.
12:00:15 1888 4868 Success.
12:00:15 1888 4868 Creating a new instance of the add-in loader.
12:00:15 1888 4868 Loading mscoree.dll
12:00:15 1888 4868 Success.
12:00:15 1888 4868 Loading the configuration from the system registry.
12:00:15 1888 4868 Getting the latest CLR version.
12:00:15 1888 4868 The latest CLR version is 'v4.0.30319'.
12:00:15 1888 4868 The configuration has been loaded successfully.
12:00:15 1888 4868 Runtime version: v2.0.50727.
12:00:15 1888 4868 Assembly name: TraderTools, PublicKeyToken=16A17275BEDE7298.
12:00:15 1888 4868 Class name: TraderTools.AddinModule.
12:00:15 1888 4868 Registry key: CLSID\{7A5DC7D8-5E04-4B0B-9491-6B790DC70DC1}.
12:00:15 1888 4868 Attempting to create a new instance of the managed add-in class: CLR - v2.0.50727
12:00:15 1888 4868 Loading CLR: v2.0.50727.
12:00:15 1888 4868 Calling CLRCreateInstance method.
12:00:15 1888 4868 Success.
12:00:15 1888 4868 Calling GetRuntime method.
12:00:15 1888 4868 Success.
12:00:15 1888 4868 Checking if the hosting API of .NET Framework v4.0 beta is installed.
12:00:15 1888 4868 The hosting API is up to date.
12:00:15 1888 4868 Calling GetInterface method for the CorRuntimeHost interface.
12:00:15 1888 4868 Error code: 0x80131022 |
|
Posted 22 May, 2012 06:43:15
|
|
Top
|
|
Rob Sullivan
Posts: 42
Joined: 2011-09-01
|
|
Posted 22 May, 2012 07:07:12
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Rob,
This is not a correct approach. The loader version you found is outdated and using it can result in other problems. I've just removed that file from the server. Can you please install the latest Add-in Express build (2010.6.7.3061) and replace the adxloader.dll (adxloader64.dll) in your project?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 22 May, 2012 07:42:41
|
|
Top
|
|
Rob Sullivan
Posts: 42
Joined: 2011-09-01
|
Andrei,
Ok thanks for the feedback - we will update our version of AddinExpress soon, but will require testing to ensure that all the other functionality has remained the same.
Thanks for your help,
Rob |
|
Posted 07 Jun, 2012 05:17:23
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hi Rob,
Of course. Please let me know if the new version solves the problem.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 07 Jun, 2012 06:31:02
|
|
Top
|
|