Hi,

I have an app that queries for a calendar feed multiple times every 20
minutes. The app runs fine for the first 10 or so requests, however
after a particular threshold is reached i start to receive the
following error -

13/05/2006 12:48:32 ERROR - Google.GData.Client.GDataRequestException:
Execution of request failed:
http://www.google.com/calendar/feeds/[EMAIL 
PROTECTED]/private/full?max-results=100
---> System.Net.WebException: The operation has timed out

The application cannot query from this point onwards until I terminate
it and restart; where it then behaves fine until the next time.

The code in the app isnt doing anything fancy.

this.query = new FeedQuery();
this.service = new CalendarService("bencassie/Synchronisation");
this.service.setUserCredentials(username, password);

GDataGAuthRequestFactory factory =
(GDataGAuthRequestFactory)this.service.RequestFactory;
                // temporary measure
                factory.MethodOverride = true;

this.uri = new Uri(calendarUri);
this.query.Uri = uri;
this.query.NumberToRetrieve = 100;
this.calendarFeed = this.service.Query(this.query);

Subsequent requests all call this.service.Query(this.query);

Has anyone experienced anything similar?

Thanks,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

Reply via email to