Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

An unexpected error occurred on a receive

This is a discussion on An unexpected error occurred on a receive within the MapPoint Desktop Discussion forums, part of the Map Forums category; I'm having problems running the map point sample code. Using MapWithNavigationButtons.aspx as an example, I can get it running and ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    [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,

    look at that requested namespace, for some reason it's http://s.map... when it should be http://staging.map....

    not 100% that will fix it, but give it a try.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    we are having the exact same problem from 2005 and 2003

    we are having the exact same problem from 2005 and 2003

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Running VB6 on windows XP - unexpected error; quitting
    By testuser14 in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-15-2005, 12:20 PM
  2. Send zip code & distance, receive list of zips back?
    By morfy50 in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 08-02-2005, 08:34 AM
  3. About ERROR 4-40028-1. Error or Bug ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 12
    Last Post: 01-11-2005, 10:32 AM
  4. An error occurred with MapPoint Location Server - HELP ME!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 07-16-2004, 01:59 AM
  5. unexpected error;quitting
    By Syd in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 04-07-2004, 07:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96