MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




An unexpected error occurred on a receive

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-18-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-24-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
[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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-27-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
we are having the exact same problem from 2005 and 2003

we are having the exact same problem from 2005 and 2003
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
error, occurred, receive, unexpected


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 05:36 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


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