Microsoft KB Archive/330226

= BUG: MapPoint Web Services Version 2.0 internal server error if you pass a Null pushpin to the GetMap method =

Article ID: 330226

Article Last Modified on 12/6/2004

-

APPLIES TO


 * Microsoft MapPoint Web Service 3.0
 * Microsoft MapPoint Web Service 2.0

-



This article was previously published under Q330226



SYMPTOMS
You may receive the following error or a similar error if you call the RenderServiceSoap.GetMap method of MapPoint .NET Basic Services, version 2.0:

System.Web.Services.Protocols.SoapException: An internal server error occurred (KC4HSIP5*2TQ:D30BEFFC) at Microsoft.MapPoint.Render.RenderService.GetMap(MapView[] view, MapOptions options, Pushpin[] pin)



CAUSE
This error occurs when a null Pushpin in the pin array is passed to the RenderServiceSoap.GetMap method. The error is expected to specify the source of the error as a null Pushpin. However, you only receive the generic error in the &quot;Symptoms&quot; section.



RESOLUTION
To prevent this error, do not pass null Pushpins in the pin array parameter of the GetMap method.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbug KB330226

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.