Hi & Thanks friends.

I forgot tell you, i was working with Mono/C# on Windows XP... the
advises you gave me has been very useful....

I ran the mozroots --import --ask-remove on window command (the black
window :-)...then i ran my program Mono/C# and the app work without
problem....all ok.....

Thanks

Rodrigo.



On 16 dic, 12:14, Mitry Matyushkov <[email protected]> wrote:
> Hi Frank,
>
> Thank you very much for the reply.
>
> Installing certificates with mozroots fixed the issue. I tried to
> install them with certmgr and missed easier way to do this.
> (Link to be read carefully:http://www.mono-project.com/FAQ:_Security)
>
> Thanks a lot.
> Mitry.
>
> On Dec 16, 1:13 pm, Frank Mantek <[email protected]> wrote:
>
> > I actually wrote most off the code on Mono and run the unittests  
> > regulary using Mono. So, this should work just fine.
>
> > What you are most likely missing is the registration of the domains  
> > using mozroots. I assume your mono currently does not trust anyone.
>
> > Frank Mantek
> > Google
> > On Dec 16, 2008, at 3:22 AM, [email protected] wrote:
>
> > > On Dec 10, 6:29 am, RodrigoA <[email protected]> wrote:
> > >> Hi amigos.
>
> > >> I get an error when execute my little application Mono/C#....
>
> > >> Unhandled Exception: Google.GData.Client.GDataRequestException:
> > >> Execution of request 
> > >> failed:http://www.google.com/calendar/feeds/default/allcalendars/full
> > >> --->
> > >>  System.Net.WebException: The remote server returned an error: (401)
> > >> Authorizati
> > >> on required. at System.Net.HttpWebRequest.CheckFinalStatus
> > >> (System.Net.WebAsyncResult result) [0x00000]  at
> > >> System.Net.HttpWebRequest.SetResponseData  
> > >> System.Net.WebConnectionData
> > >> dat
> > >> a) [0x00000]  --- End of inner exception stack trace ---
> > >>   at Google.GData.Client.GDataRequest.Execute () [0x00000]
> > >>   at Google.GData.Client.GDataGAuthRequest.Execute (Int32
> > >> retryCounter) [0x00000]
>
> > >> I wrote the app from the examples of the code google page .NET.
>
> > >>         CalendarService myService = new CalendarService("exampleCo-
> > >> exampleApp-1");
> > >>         myService.setUserCredentials("[email protected]", "AbcDEEEE");
>
> > >>         CalendarQuery query = new CalendarQuery();
> > >>         query.Uri = new 
> > >> Uri("http://www.google.com/calendar/feeds/default/
> > >> allcalendars/full");
> > >>         CalendarFeed resultFeed = myService.Query(query);
>
> > >>         Console.WriteLine("Your calendars:\n");
> > >>         foreach (CalendarEntry entry in resultFeed.Entries)
> > >>         {
> > >>                 Console.WriteLine(entry.Title.Text + "\n");
> > >>         }
>
> > >> Executing  this, i get the above error.....
>
> > >> The same program in Python execute without problems....
>
> > >> Thanks....
>
> > >> Rodrigo-A.
>
> > >> PD: Sorry for my Ingles....:-)
>
> > > Hi, Rodrigo.
>
> > > I experience the same problem with calendar API and Mono.
> > > While Windows version of console Calendar sample works pretty good (I
> > > tried both frameworks: .NET 1.1 with API 1.1.3.0 and .NET 2.0 with API
> > > 1.2.3), Mono still reports:
> > > Unhandled Exception: Google.GData.Client.GDataRequestException:
> > > Execution of request
> > > failed:http://www.google.com/calendar/feeds/default--->
> > > System.Net.WebException: The remote server returned an error: (401)
> > > Unauthorized.
> > >  at System.Net.HttpWebRequest.CheckFinalStatus
> > > (System.Net.WebAsyncResult result) [0x00000]
> > >  at System.Net.HttpWebRequest.SetResponseData
> > > (System.Net.WebConnectionData data) [0x00000] --- End of inner
> > > exception stack trace ---
>
> > >  at Google.GData.Client.GDataRequest.Execute () [0x00000]
> > >  at Google.GData.Client.GDataGAuthRequest.Execute (Int32 iRetrying)
> > > [0x00000]
>
> > > Does anyone succeed with any version Calendar sample on Mono?
> > > What did I miss in Mono environment setup?
>
> > > Thanks,
> > > Mitry.
>
> > > PS. I use openSUSE 11.0 VMWare image with Mono 2.0.1 installed for
> > > tests.

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