Select to view content in your preferred language

Addins - "Failed to load assembly..."

786
2
11-28-2012 08:01 AM
DavidHildebrand
Emerging Contributor
I am trying to load add-ins but I keep getting the following error (e.g.: QueryFeatures.dll).

Failed to load assembly 'QueryFeatures.dll'.

When I click "error details" I get the following message.

API restriction:  The assembly 'file:///C:\Users\...\AppData\Roaming\ESRI\ArcGIS Explorer\AddIns\Cache\QueryFeatures\QueryFeatures.dll' has already loaded from a different location.  It cannot be loaded from a new location within the same appdomain.

However, there is no such directory as 'C:\Users\...\AppData\Roaming\ESRI\ArcGIS Explorer\AddIns\Cache\QueryFeatures' but there is 'C:\Users\...\AppData\Roaming\ESRI\ArcGIS Explorer\AddIns' which contains 'QueryFeatures.eaz'.  This behaviour is the same no matter what addin I try to load.  I am running build 1750 on Windows 7 in an ArcGIS 10.0 EDN environment.

Any help would be appreciated.

=============
Dave
0 Kudos
2 Replies
norie
by
Regular Contributor
Close down ArcGIS Explorer and try deleting the whole AddIns Directory (C:\Users\...\AppData\Roaming\ESRI\ArcGIS Explorer\AddIns).


If you are developing/debugging an Add-In. I would also Clean Solution and Rebuild Solution (in Visual Studio), before you debug in this particular case.
0 Kudos
DavidHildebrand
Emerging Contributor
I tried that and I get the same response.  In fact, an ArcGIS Explorer Add-Ins message window pops up with "The add-in file 'QueryFeatures.eaz' could not be copied to teh add-ins folder." and yet, the file is there in a newly created AddIns folder along with an empty 'Cache' folder.
0 Kudos