Hey I am facing a very peculiar problem, I am using google maps API for a webpage,
Objective is to get the Google Pin point on the Map for the addresses that the user has entered. while doing this i get the following error "THE REMOTE SERVER RETURNED AN ERROR - 403 FORBIDDEN".Occasionally it does works fine .(but on my local system it always works.) I am Using the following code to get the reference from Google API (i.e., longitude,latitude) string sURL = "http://maps.google.com/maps/geo?q=" + GP.Address + "&output=xml&key=" + GoogleAPIKey; WebRequest request = WebRequest.Create(sURL); request.Timeout = 1000000000; // Set the Method property of the request to POST. WebResponse response = request.GetResponse(); StreamReader reader = new StreamReader (response.GetResponseStream()); DataSet DS = new DataSet(); DS.ReadXml(reader); does any one have a solution? Cheers Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
