An unexpected error occurred on a receive
I'm having problems running the map point sample code. Using MapWithNavigationButtons.aspx as an example, I can get it running and navigate. However if I then don't do anything for about a minute and then try navigating or zooming in, I get an error message:
[System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://s.mappoint.net/mappoint-30/GetMap", RequestNamespace="http://s.mappoint.net/mappoint-30/", ResponseNamespace="http://s.mappoint.net/mappoint-30/", Use=System.Web.Services.Description.SoapBindingUse .Literal, ParameterStyle=System.Web.Services.Protocols.SoapP arameterStyle.Wrapped)]
Line 436: public MapImage[] GetMap(MapSpecification specification) {
Line 437: object[] results = this.Invoke("GetMap", new object[] {
Line 438: specification});
Line 439: return ((MapImage[])(results[0]));
Source File: C:\Inetpub\wwwroot\MapWithNavigationButtonsCS\Web References\MapPointService\Reference.cs Line: 437
If I then refresh the page, it starts working again.
Has anyone any Ideas?
Here's the stack trace:
WebException: An unexpected error occurred on a receive]
System.Net.HttpWebRequest.CheckFinalStatus(Boolean mustThrow) +809
System.Net.HttpWebRequest.GetResponse() +193
System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse(WebRequest request) +56
System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse(WebRequest request) +7
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String methodName, Object[] parameters) +185
MapWithNavigationButtonsCS.MapPointService.RenderS erviceSoap.GetMap(MapSpecification specification) in C:\Inetpub\wwwroot\MapWithNavigationButtonsCS\Web References\MapPointService\Reference.cs:437
MapWithNavigationButtonsCS.MapWithNavigationButton s.RenderMap(Double myPanHorizontalAdjustment, Double myPanVerticalAdjustment, Double myZoomValue) in c:\inetpub\wwwroot\mapwithnavigationbuttonscs\mapw ithnavigationbuttons.aspx.cs:403
MapWithNavigationButtonsCS.MapWithNavigationButton s.MoveSouth(Object sender, EventArgs e) in c:\inetpub\wwwroot\mapwithnavigationbuttonscs\mapw ithnavigationbuttons.aspx.cs:87
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +232
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +5
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +31
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5157
we are having the exact same problem from 2005 and 2003
we are having the exact same problem from 2005 and 2003