You will be getting a redirect exception with the calendar, as the  
calendar just redirects you. So while that is noticable in the  
debugger, it should not really hurt the application.

You will be getting URI format exceptions, that again is normal  
for .NET CF (from what i can tell).

That your application is failing is a different problem. Can you  
capture (or look at the response string property of the gdataexception  
in the debugger) the return from the server for the failed request?  
what's the http error status?

Regards

Frank Mantek
Google
On Jul 9, 2008, at 7:55 AM, lreb wrote:

>
> Hi,
>
> I am trying to connect to Google calendar using the .NET APIs in VS
> 2005 for a mobile application (Emulator Pocket PC 2003).
>
> I tried to start with the following example
> http://google-gdata.googlecode.com/svn/trunk/clients/cs/samples/calendar/console/CalendarDemo.cs
> . I correctly add the client library DLL files as a reference path
> from "Google Data API SDK\Redist\Mobile\WindowsMobile"
>
> I obtained the same problems as those described here.
> http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/800f02f7ec3b5d56/a1bdcfbd4133c532
>  
> .
> But i don't understand what it's the solution for this problem.
>
> So, I  used the URL directly in the
> constructor of the line above (FeedQuery query = new  
> FeedQuery("http://
> www.google.com/calendar/feeds/default/allcalendars/full");)
> and get the code working. However, now I get a amount of exceptions
> and I have Internet connectivity in the emulator.
>
> Exceptions:
> A first chance exception of type
> 'Google.GData.Client.GDataRedirectException' occurred in
> Google.GData.Client.dll
>
> A first chance exception of type 'System.Net.WebException' occurred in
> System.dll
>
> Execution of request failed: 
> http://www.google.com/calendar/feeds/default/private/full
> ?q=Tennis&gsessionid=EcggL3K13RE8qNZy6bvz6Q
>
> Somebody can help me ?
>
> Thanks a lot!
>
> lreb
>
>
>
> >


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

Reply via email to