On Jan 29, 5:07 pm, VickyC <[email protected]> wrote:
> We have been receiving this message on all domains we are using Google
> Maps API since 11:37am this morning.  NONE of our code has changed.
> Here is a URL to see the error:  http://www.savers.com then click
> Find Your Store in the top navigation area.  This is complete error:
>
> Description: An unhandled exception occurred during the execution of
> the current web request. Please review the stack trace for more
> information about the error and where it originated in the code.
>
> Exception Details: System.Net.WebException: The remote server returned
> an error: (403) Forbidden.
>
> Source Error:
>
> Line 90:              * the fourth one is the longitude.
> Line 91:              */
> Line 92:             string[] geocodeInfo = client.DownloadString
> (uri).Split(',');
> Line 93:
> Line 94:             return new Coordinate(Convert.ToDecimal
> (geocodeInfo[2]), Convert.ToDecimal(geocodeInfo[3]));
>
> Source File: \App_Code\CSharp\Geocode.cs    Line: 92
>
> Stack Trace:
>
> [WebException: The remote server returned an error: (403) Forbidden.]
>    System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&
> request) +287
>    System.Net.WebClient.DownloadString(Uri address) +106
>    GoogleGeocoder.Geocode.GetCoordinates(String address) in \App_Code
> \CSharp\Geocode.cs:92
>    FindAStore.GetStoreLocationData(String SearchText, String
> SearchDistance) in \Savers_Web3\Find-A-Store.aspx.vb:168
>    FindAStore.Page_Load(Object sender, EventArgs e) in
> \Savers_Web3\Find-A-Store.aspx.vb:83
>    System.Web.UI.Control.OnLoad(EventArgs e) +99
>    System.Web.UI.Control.LoadRecursive() +50
>    System.Web.UI.Page.ProcessRequestMain(Boolean
> includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> +627
>
> Please Help this is urgent

http://www.catb.org/%7Eesr/faqs/smart-questions.html#urgent

What does the request you are sending to google look like?

Are you including the now mandatory "sensor" parameter?
http://code.google.com/apis/maps/documentation/geocoding/index.html#GeocodingRequests

Are you getting the 403 because your key has gone over the requests
limit in the 24 hour period or has submitted too many requests in too
short a period of time.
(will return a status GGeoStatusCode of 620, but your server code may
not let you see it)

  -- Larry

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