Select to view content in your preferred language

Feature layer returns error when map panned

588
0
01-14-2011 04:34 AM
PhilDegler
Emerging Contributor
In my silverlight app, I have a feature layer created in "OnDemand" mode.  The data for this layer is coming from a map service that connects to a SQL Server 2008 table.

I have some filtering controls set up to limit the points returned in the layer.  When I have the filter setup so that several hundred points would display, everything seems to work fine (I have clustering set up).  The problem is that when I pan the map, I get the following error.  Does anyone know what this error means?

This error does not happen when I have the layer in "Snapshot" mode.


Message: Unhandled Error in Silverlight Application
Code: 4004   
Category: ManagedRuntimeError      
Message: System.Net.WebException ---> System.Net.WebException
   at System.Net.Browser.BrowserHttpWebRequest.InternalBeginGetResponse(AsyncCallback callback, Object state)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass6.<BeginOnUI>b__4(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(BeginMethod beginMethod, AsyncCallback callback, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
   at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream, CompletionDelegate completionDelegate, AsyncOperation asyncOp)
   at System.Net.WebClient.<>c__DisplayClass1.<UploadDownloadBits>b__0(Byte[] returnBytes, Exception exception, AsyncOperation asyncOp2)
   at System.Net.WebClient.UploadBitsRequestCallback(IAsyncResult result)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass9.<InvokeGetRequestStreamCallback>b__7(Object state2)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
0 Kudos
0 Replies