Hi,

401 exception usually means that you have error with the
authorization.  This is the code that I use to perform clientlogin
using the .NET client library (I am also setting up the logging
mechanism, so you can see the XML messages on the wire to debug) -

  calendarService = new CalendarService("myapp")
  Google.GData.Client.GDataLoggingRequestFactory factory =
  new GDataLoggingRequestFactory("cl", "logging");
  factory.MethodOverride = true;
  factory.CombinedLogFileName = "c:\\tmp\\xmllog.log";

  calendarService.RequestFactory = factory;

  Console.WriteLine("Log file name:" + factory.CombinedLogFileName);

  calendarService.setUserCredentials(username, pw);

Hope it helps,
Austin

On Sun, Mar 30, 2008 at 6:19 PM, bobb <[EMAIL PROTECTED]> wrote:
>
>  See: 
> http://groups.google.com/group/google-apps-apis/browse_thread/thread/55a69f89b21c1c1d?hl=en
>  >
>

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