I'm using ExportWebMap SL API 3.2 with the sample code from ESRI, but when I run the app, I have this error:
| Error | {System.Net.WebException: The remote server returned an error: NotFound. |
---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
| at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)} | System.Exception {System.Net.WebException} |
In this case I used the following rest service:
Task: Export Web Map Task
Something knows reason for this error???? Because I'm not change the code of the example.
Thanks a lot!
Sofia