Microsoft JScript runtime error: Unhandled Error in Silverlight Application Value was either too large or too small for an Int32. at System.Convert.ToInt32(Double value)
at System.Windows.PresentationFrameworkCollection`1.get_CountImpl()
at System.Windows.PresentationFrameworkCollection`1.GetItemDependencyObject(Int32 index)
at System.Windows.Controls.UIElementCollection.GetItemImplSkipMethodPack(Int32 index)
at System.Windows.PresentationFrameworkCollection`1.CollectionEnum`1.get_Current()
at ESRI.ArcGIS.Client.TiledLayer.getProgress()
at ESRI.ArcGIS.Client.TiledLayer.bmi_DownloadProgress(Object sender, DownloadProgressEventArgs e, ImageTileInfo data, EventHandler`1 onProgressEventHandler)
at ESRI.ArcGIS.Client.TiledLayer.<>c__DisplayClass8.<addTile>b__5(Object sender, DownloadProgressEventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Microsoft JScript runtime error: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at System.Windows.PresentationFrameworkCollection`1.get_CountImpl()
at System.Windows.PresentationFrameworkCollection`1.CollectionEnum`1.MoveNext()
at ESRI.ArcGIS.Client.LayerCanvas.ArrangeOverride(Size finalSize)
at System.Windows.FrameworkElement.ArrangeOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)