Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error 400 - Bad request with account evaluation

0 views
Skip to first unread message

abcde

unread,
Mar 29, 2008, 3:46:11 PM3/29/08
to
Hello everyone,
I created an account evaluation for MapPoint, now I have developed a
class for geocoding but when I request the server responds with an error
400 Bad Request.

The code is as follows:

Address myIndirizzo = new Address();
myIndirizzo.PrimaryCity = indirizzo;

FindOptions findOptions = new FindOptions();

FindAddressSpecification findAddressSpecification = new
FindAddressSpecification();
findAddressSpecification.InputAddress = myIndirizzo;
findAddressSpecification.Options = findOptions;
findAddressSpecification.DataSourceName = ".....";

findAddressSpecification.Options.ResultMask =
FindResultMask.RooftopFlag |
FindResultMask.LatLongFlag |
FindResultMask.EntityFlag |
FindResultMask.MatchDetailsFlag |
FindResultMask.AddressFlag;
FindResults myFindResults=null;
try
{
myFindResults =
findService.FindAddress(findAddressSpecification);
}
catch (Exception e)
{
Console.Write(e.Message);
}

Marko.

0 new messages