Community of VE/MapPoint Users and Developers
This is a discussion on An unexpected error occurred on a receive within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| An unexpected error occurred on a receive [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 |
| |||
|
[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. |
![]() |
| Tags |
| error, occurred, receive, unexpected |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running VB6 on windows XP - unexpected error; quitting | testuser14 | MapPoint 2006/2009 Discussion | 2 | 12-15-2005 11:20 AM |
| Send zip code & distance, receive list of zips back? | morfy50 | MapPoint Web Service and Virtual Earth | 1 | 08-02-2005 07:34 AM |
| About ERROR 4-40028-1. Error or Bug ? | Anonymous | MapPoint 2006/2009 Discussion | 12 | 01-11-2005 09:32 AM |
| An error occurred with MapPoint Location Server - HELP ME! | Anonymous | MapPoint 2006/2009 Discussion | 5 | 07-16-2004 12:59 AM |
| unexpected error;quitting | Syd | MapPoint 2006/2009 Discussion | 2 | 04-07-2004 06:17 AM |
Exeter Flights
Visit Holiday Hypermarket online to find all the essential information about Exeter Airport and Exeter flights. Booking is quick, easy and cheap with Holiday Hypermarket.
Portugal Weather
Check out Portugal Weather - Travel Counsellors details information on Portugal including, weather, flights and accommodation.
Italy Holiday
An Italy Holiday is full of interesting stuff for the casual tourist and even more for the educated visitor. Check out the latest great deals at dealchecker.co.uk.
Holidays to Antigua
The Holiday Place has fantastic deals on holidays to Antigua. Visit our website to view special offers on holidays to the Caribbean.
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
All inclusive holiday
Travel.co.uk is a travel comparison service which makes it easy to search and find your all inclusive holiday.
Cheap Holidays in Lanzarote
Now's the time to get up and go visit the Canary Islands! View cheap holidays in Lanzarote only at On The Beach.