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



The information in this article 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 "Symptoms" 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 "Applies to" section.

Modification Type:MinorLast Reviewed:12/6/2004
Keywords:kbbug KB330226 kbAudDeveloper