Hi,
I am not real expert with C# .NET but it may be that your .NET
environment is not set up correctly.
And looking at your recurrence rule, your recurrence is creating an
infinite series that recur every single day. This might be the reason
for the long execution time, try to create a finite recurrence to see
if this is what causing it.
Hope it helps,
Austin
On Tue, Apr 8, 2008 at 9:56 PM, praveen <[EMAIL PROTECTED]> wrote:
>
> HI Austin,
>
> Facing the same issue and this time here is the code which I am using
>
>
> CalendarService calendarService = new
> CalendarService("testApplication");
>
> calendarService.Credentials = new GDataCredentials("username",
> "password");
>
> Uri postUri = new Uri(gCalUrl);
>
> //where gCalUrl is the calendar id
> EventEntry gCalEvent = new EventEntry("test", "description",
> "location");
> gCalEvent.Recurrence = new Recurrence();
> gCalEvent.Recurrence.Value = "DTSTART;TZID=Asia/Calcutta:20080406\r
> \nDTEND;TZID=Asia/Calcutta:20080407\r\nRRULE:FREQ=DAILY;INTERVAL=1";
>
> gCalEvent = (EventEntry)calendarService.Insert(postUri, gCalEvent);
>
> when I Excecuted this code I got
>
> A first chance exception of type 'System.IO.FileNotFoundException'
> occurred in mscorlib.dll
> A first chance exception of type 'System.IO.FileNotFoundException'
> occurred in mscorlib.dll
>
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type
> 'Google.GData.Client.GDataRedirectException' occurred in
> Google.GData.Client.dll
>
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type 'System.Net.Sockets.SocketException'
> occurred in System.dll
> A first chance exception of type 'System.Net.Sockets.SocketException'
> occurred in System.dll
> {Google.GData.Calendar.EventEntry}
> base {Google.GData.Client.AbstractEntry}:
> {Google.GData.Calendar.EventEntry}
> Comments: null
> comments: null
> EventId: "frjoutbae1jb8aenk95qr8skhs"
> ..................... + other event details.......
> .........................
>
> A first chance exception of type
> 'Google.GData.Client.GDataRedirectException' occurred in
> Google.GData.Client.dll?
> Too many characters in character literal.
>
> and sometimes
>
> gCalEvent = (EventEntry)calendarService.Insert(postUri, gCalEvent);
> A first chance exception of type 'System.IO.FileNotFoundException'
> occurred in mscorlib.dll
> A first chance exception of type 'System.IO.FileNotFoundException'
> occurred in mscorlib.dll
>
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type
> 'Google.GData.Client.GDataRedirectException' occurred in
> Google.GData.Client.dll
>
> A first chance exception of type 'System.UriFormatException' occurred
> in System.dll
> A first chance exception of type 'System.Net.Sockets.SocketException'
> occurred in System.dll
> A first chance exception of type 'System.Net.Sockets.SocketException'
> occurred in System.dll
> {Google.GData.Calendar.EventEntry}
> base {Google.GData.Client.AbstractEntry}:
> {Google.GData.Calendar.EventEntry}
>
> -------------
>
> and not only I got these exceptions but worse thing is that sometimes
> it takes 4-5 minutes to excecute that single line
> i.e CalendarService.Insert();
>
>
>
> On the other Hand if I Execute this code on windows It was executed
> without any exception.
> Is there any known issues with windows mobile (dot net cf 2.0) ?
>
> Thanks and Regards
>
>
>
>
> On Mar 31, 9:39 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The slow update should have been fixed by now, if your particular
> > account still is seeing problem of unusual slow update please give me
> > your calendar ID, I can take at look at it personally :)
> >
> > Thanks for the update!
> >
> > Austin
> >
> >
> >
>
>
> > On Mon, Mar 31, 2008 at 2:14 AM, praveen <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Austin,
> >
> > > I am facing this problem oftenly.
> >
> > > Even some time it took 5-7 mins to update a single event.
> > > Is there any way by which we can check the root cause of the problem.
> > > and one more thing , I am not having any problem while loggin in my
> > > google calendar.
> > > So that means problem is somethig different....
> >
> > > Thanks and Regards
> >
> > > On Mar 28, 9:57 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> > > > Hi guys,
> >
> > > > I have just tested my code that uses the API, things seems to be
> normal now,
> > > > are you guys still seeing this problem?
> >
> > > > Austin
> >
> > > > On Fri, Mar 28, 2008 at 7:47 AM, Ahmad <[EMAIL PROTECTED]> wrote:
> >
> > > > > Hi Praveen, I don't know exactly but it may be because it seems all
> of
> > > > > us having trouble logging to our Google calendars today.
> >
> > > > > On Mar 28, 2:32 pm, praveen <[EMAIL PROTECTED]> wrote:
> > > > > > Hi,
> >
> > > > > > I am using Google calendar api 1.1.1.0 for windows Mobile.
> >
> > > > > > From my dot net client when I update/add/delete events in google
> > > > > > calendar it takes too much time.
> > > > > > (12-15 mins for 450-500 event entries).
> >
> > > > > > Even in case of only delete it takes same amount of time.
> >
> > > > > > This device accesses internet through my desktop.
> >
> > > > > > (and I don't think it is due to of any network issue)
> >
> > > > > > Is this normal ?
> >
> > > > > > Thanks in advance- Hide quoted text -
> >
> > > > - Show quoted text -- Hide quoted text -
>
>
> >
> > - Show quoted text -
> >
>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---