MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Need urgent help.

This is a discussion on Need urgent help. within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; I am building up an Windows application where I need to find place by giving Latitude and Longitute as an ...


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

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 07-23-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 4
Need urgent help.

I am building up an Windows application where I need to find place by giving Latitude and Longitute as an input through textboxes. I am using the GetLocation() method to find the places.
I have done this :

LatLong latlong = new LatLong();

latlong.Latitude =Convert.ToDouble(txtLat.Text);
latlong.Longitude = Convert.ToDouble(txtLong.Text);

//Define get info options object
GetInfoOptions options = new GetInfoOptions();

options.IncludeAllEntityTypes = false;
options.EntityTypesToReturn = new string[] { "PopulatedPlace" };
Location[] returnLocation;
returnLocation = findService.GetLocationInfo(latlong, cmbZone.Text, options);
//Get entity information
for (int i = 0; i < returnLocation.Length; i++)
{
MessageBox.Show(returnLocation[i].Entity.DisplayName);
}

But I am getting an error like this:
"The request failed with HTTP status 401: Unauthorized."
Please help me out.
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
urgent


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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Urgent Upgrade to 200 Needed BobFromBoston MapPoint 2006/2009 Discussion 3 06-18-2007 11:24 PM
Urgent: Shading Problem. Can you help? tobes MapPoint 2006/2009 Discussion 3 03-31-2007 07:24 PM
Lat Lon problem URGENT HELP Abilio Serafim MapPoint 2006/2009 Discussion 1 05-04-2005 01:21 PM
Using Map Point APIs(URGENT) amitsh MapPoint 2006/2009 Discussion 0 03-16-2004 10:28 PM
Need help URGENT amitsh MapPoint 2006/2009 Discussion 2 03-09-2004 05:38 PM


All times are GMT -5. The time now is 06:40 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


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 53 54