ttam

Loading a map Package throws an exception

Discussion created by ttam on Sep 27, 2011
Latest reply on Sep 28, 2011 by ttam
Hi,

I have created a very simple map package using Desktop. When I run the template WPF app up pointing to this map package I get a window with the esri water mark but then I get an exception.

ESRI.ArcGIS.Client.Local: Starting GIS Runtime: c:\program files\arcgis\runtime400\bin\ArcGISRuntime.exe  dataDir="C:\Users\mmp\AppData\Local\Temp\ArcGISRuntime400_ArcGISWPFMapApplication12356" appPid=2356 urlPrefix=2c4468bf61c2498fa3a8af49305b8349 license=runtimestandard,101,ecp937521763,2-apr-2012,HC4XTK8HRDAJEMAJH158
'ArcGISWPFMapApplication1.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll'
ESRI.ArcGIS.Client.Local: GIS Runtime (license=Valid) started at http://127.0.0.1:50000/2c4468bf61c2498fa3a8af49305b8349/arcgis/rest/services
A first chance exception of type 'ESRI.ArcGIS.Client.Local.LocalServerException' occurred in ESRI.ArcGIS.Client.dll
An unhandled exception of type 'ESRI.ArcGIS.Client.Local.LocalServerException' occurred in ESRI.ArcGIS.Client.dll

Additional information: Failed to create service test2 MapServer. SharedMemoryLinkClosedException Error code: 500

BTW running it in its online mode works fine. So I guess it might be the map package.


I am running on windows 7 64-bit with Visual Studio 2010. I get a similar sort of issue when running in Java.

Cheers

Tuckers

Outcomes