Discussion:
While Running MapPoint WS SDK 4.5 Samples .NET 2 .
(too old to reply)
shashikant
2009-03-09 12:02:01 UTC
Permalink
Hi
I am Using MS VS 2005

I have downloaded the SDK and Tried to run the first sample Application
(MapWithNavigationButtonsCS) in the samples section of the SDK When I clicked
the Get Map Button I am hetting the following error .

Exception Details: System.Net.WebException: The request failed with HTTP
status 407: Proxy Authentication Required.

Source Error:

Line 1214:
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("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.SoapParameterStyle.Wrapped)]
Line 1215: public MapImage[] GetMap(MapSpecification specification) {
Line 1216: object[] results = this.Invoke("GetMap", new object[] {
Line 1217: specification});
Line 1218: return ((MapImage[])(results[0]));

Source File: C:\Inetpub\wwwroot\.NET
2.0\CoreFunctionality\MapWithNavigationButtons\cs\Web
References\MapPointService\Reference.cs Line: 1216

Any help is appreciated. Thanks
--
Cats rule
Derek Chan
2009-03-11 21:57:02 UTC
Permalink
Hi,

Have you tried the following?

- Updated your web reference
- Input your staging credentials in the web.config:

<add key="MPUser" value=""/>
<add key="MPPass" value=""/>

I've been able to run the sample successfully after doing the above. Apart
from that, the issue could be caused an internal network issue as suggested
by this link:

http://www.checkupdown.com/status/E407.html

Regards,
--
Infusion Development
http://www.infusion.com
Post by shashikant
Hi
I am Using MS VS 2005
I have downloaded the SDK and Tried to run the first sample Application
(MapWithNavigationButtonsCS) in the samples section of the SDK When I clicked
the Get Map Button I am hetting the following error .
Exception Details: System.Net.WebException: The request failed with HTTP
status 407: Proxy Authentication Required.
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("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.SoapParameterStyle.Wrapped)]
Line 1215: public MapImage[] GetMap(MapSpecification specification) {
Line 1216: object[] results = this.Invoke("GetMap", new object[] {
Line 1217: specification});
Line 1218: return ((MapImage[])(results[0]));
Source File: C:\Inetpub\wwwroot\.NET
2.0\CoreFunctionality\MapWithNavigationButtons\cs\Web
References\MapPointService\Reference.cs Line: 1216
Any help is appreciated. Thanks
--
Cats rule
Loading...