Guys,

I host my site on mosso's cloud hosting.

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 and sometimes it just shows wrong location, generally
near south atlantic ocean, 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);

Spoke to the tech team and they gave me the following explaination,
which wasn't very helpful.

<Tech Team response>
Does google have a document explaining this API with shared hosting?
It
seems like google does not let you pull data if someone else is
pulling
the same data off the same IP. After I accessed the api, from another
machine, I tried your website and the error was thrown about another
machine accessing google and gave the 403 forbidden..the server log
actually shows you what machine at the time is pulling data. Was not
sure if this was explaining in your docs and if it had a work around.
</Tech Team response>

Im wondering, whether any of you has come across this before. Please
advice.

Many Thanks,

S

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to