Are you on a shared host? And/or one that uses a proxy for outgoing
requests? Sounds probably that someone on the same network is
downloading stuff from Google and causing blocks. (as this doesnt
sound like a Google Maps API error, which would be in the 600 range)

Otherwise I would try looking at the exact message returned (including
headers) - as it might well give you some clues as to who exactly is
generateing the error message (which might well rule out the above
guess) .



On Mon, Nov 17, 2008 at 1:21 PM, Balamurugan Ranganathan
<[EMAIL PROTECTED]> wrote:
>
> 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
>
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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