Ti scrivo l'eccezione ...
sono in c#
Google.GData.Client.GDataRequestException
HResult=0x80131500
Message=Execution of request failed:
Source=Google.GData.Client
StackTrace:
at Google.GData.Client.GOAuth2Request.Execute()
at Google.GData.Client.Service.Query(Uri queryUri, DateTime ifModifiedSince, String etag, Int64& contentLength)
at Google.GData.Client.Service.Query(FeedQuery feedQuery)
at Google.GData.Client.Feed`1.get_AtomFeed()
at Google.GData.Client.Feed`1.<get_Entries>d__0.MoveNext()
at EZ.Common.WebFunctions.GContacts.GContacts.HaveAllContacts(Int32 MaxNumbers) in F:\MyProjectAtWork\EZFunctions\Common\WebFunctions\GContacts\GContacts.cs:line 41
at WASDGest.Windows._Support.frmContactListener.updateGrid() in F:\MyProjectAtWork\WASDGest\Windows\_Support\frmContactListener.cs:line 34
at WASDGest.Windows._Support.frmContactListener.BtnUpdate_Click(Object sender, EventArgs e) in F:\MyProjectAtWork\WASDGest\Windows\_Support\frmContactListener.cs:line 66
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WASDGest.Program.Main() in F:\MyProjectAtWork\WASDGest\Program.cs:line 39
Inner Exception 1:
WebException: Errore del server remoto: (401) Non autorizzato.