Closed stringfellow closed 10 years ago
From ClaireBy...@gmail.com on September 15, 2013 02:59:29
Status: Accepted
From ClaireBy...@gmail.com on September 15, 2013 03:21:59
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
\ Exception Text ** System.IO.FileNotFoundException: Could not load file or assembly 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. The system cannot find the file specified. File name: 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' at MapAction.MapExport.createZip(Dictionary`2 dictPaths) at Alpha_ExportTool.frmMain.btnCreateZip_Click(Object sender, EventArgs e) in Z:\code\nunit-trail\arcgis10_mapping_tools\Alpha_ExportTool\Alpha_ExportTool\frmMain.cs:line 268 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
\ Loaded Assemblies ** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
ESRI.DADF.Core Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
msvcm90 Assembly Version: 9.0.30729.6161 Win32 Version: 9.00.30729.6161
System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
ESRI.ArcGIS.SearchUI Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
ESRI.ArcGIS.Framework Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.System Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.SearchControl Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
ESRI.ArcGIS.SearchCore Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
ESRI.ArcGIS.Carto Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.Search Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.SystemUI Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
ESRI.ArcGIS.Version Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
ESRI.ArcGIS.ArcMapUI Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.Geoprocessing Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
GpMetadataFunctions Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
ESRI.ArcGIS.Geodatabase Assembly...
From ClaireBy...@gmail.com on September 15, 2013 03:21:59
... Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ETGeoWizards102 Assembly Version: 10.2.0.0 Win32 Version: 10.2.0.0
ResourceAssembly Assembly Version: 1.0.0.0 Win32 Version: 10.2.0.0
System.Core Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1
System.Data.SqlXml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
System.Xml.Xsl.CompiledQuery.1 Assembly Version: 0.0.0.0 Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
Lucene.Net Assembly Version: 2.9.2.1 Win32 Version: 2.9.2.1
ESRI.ArcGIS.Geometry Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
Snowball.Net Assembly Version: 2.0.0.1 Win32 Version: 2.0.0.1
ESRI.ArcGIS.MxCommands Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
PresentationFramework Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5448 built by: Win7SP1GDR
WindowsBase Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5448 built by: Win7SP1GDR
PresentationCore Assembly Version: 3.0.0.0 Win32 Version: 3.0.6920.5448 built by: Win7SP1GDR
ESRI.ArcGIS.Desktop.AddIns.Factory Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.Desktop.AddIns Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.MapCenter Assembly Version: 10.1.0.0 Win32 Version: 10.1.1.3143
ESRI.ArcGIS.ArcGlobe Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.ArcScene Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
Alpha_ConfigTool Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0
MapAction Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0
System.Xml.Linq Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5420 built by: Win7SP1
Alpha_LayoutTool Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0
Alpha_ExportTool Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0
ESRI.ArcGIS.Output Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
ESRI.ArcGIS.Display Assembly Version: 10.1.0.0 Win32 Version: 10.1.0.3035
\ JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
From ewingch...@gmail.com on October 19, 2013 08:23:57
A > short solution To sort this double-click the ESRI addin "ExportTool.esriAddIn" in Windows Explorer to install it properly.
B > more details The ExportTool.esriAddIn can be installed by double-clicking on it in the add in folder location or by using the esriregaddin.exe tool So the fix is to double-click on the ExportTool.esriAddIn in the add-in folder. The error message should now go away.
C > reason it was failing This is caused by the ionic.dll (zip library) is not being registered properly.
This is because the ExportTool.esriAddIn needs to be 'installed' (to register the ionic.dll) rather than just pointed to in ArcMap.
D > Further notes for Andy for deploying the add-ins to all laptops..... to deploy add-ins using the ESRI Add-In Installation Utility (also described a bit here http://gis.stackexchange.com/questions/25617/deployment-options-of-arcgis-desktop-add-in )
a. to install silently (on 64-bit xp)
C:\Program Files (x86)\Common Files\ArcGIS\bin\esriregaddin.exe "
b. to uninstall silently (on 64-bit xp) C:\Program Files (x86)\Common Files\ArcGIS\bin\esriregaddin.exe "{1472afad-112a- 4f7e-9d6e-5b2083d133bf}" /u /s (you need the ESRI AddInID to uninstall which is a bit painful)
Hope this helps.
Owner: ewingch...@gmail.com
Cc: andrewphilipsmith
From andrewphilipsmith on October 23, 2013 12:43:07
Further more registering an esriaddin either by doubleclicking or by using the esriaddin.exe tool must be done as the end user (mapaction in our case). and can't be done by the SYSTEM user during boot up.
Labels: -Priority-Medium Priority-High
From andrewphilipsmith on October 28, 2013 08:43:05
Labels: Milestone-Release3.1
From andrewphilipsmith on November 22, 2013 18:42:02
Believed to be fixed in revision b95e2e353b37 . This removes the dependency on Ionic.Zip and instead creates the zip file using 7zip in the separate process.
Status: Fixed
From andrewphilipsmith on November 28, 2013 08:42:49
I think I've spotted the origional source of the problem. See the HintPath in this change: https://code.google.com/p/mapaction-toolbox/source/diff?spec=svnb95e2e353b372e50dcfed9a99da157a381037a01&old=7d0d9423b33cfbe61edb3d5edd9dfaf931fb8d74&r=b95e2e353b372e50dcfed9a99da157a381037a01&format=unidiff&path=%2Farcgis10_mapping_tools%2FMapAction%2FMapAction%2FMapAction.csproj
From ClaireBy...@gmail.com on August 16, 2014 09:12:52
Can no longer replicate, assume fixed.
Status: Verified
From antony.s...@gmail.com on September 14, 2013 18:49:27
What steps will reproduce the problem? 1. Export map 2. 3. What is the expected output? Completion message What do you see instead? Export works, but box remains, and .Net error appears on close of dialogue What version of the product are you using? On what operating system? Arc 10.1 W 7 Please provide any additional information below.
Original issue: http://code.google.com/p/mapaction-toolbox/issues/detail?id=73