have you tried modifying the timeout property on the RequestFactory?  
Searching for the .NET error message "The request was cancelled"  
brought up multiple hits of upload problems that could be solved by  
just extending the default timeout.

Regards

Frank Mantek
Google
On Aug 20, 2008, at 2:07 PM, bobb wrote:

>
> I create a feed of 50 mail messages, and submit with a Batch() call on
> a MailItemService instance. Occoasionally I get the following
> exception:
>
> ERROR: exception from server on message upload:
> System.Net.WebException: The request was aborted: The request was
> canceled.
>   at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[]
> buffer, Int32 offset, Int32 size, AsyncCallback callback, Object
> state)
>   at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset,
> Int32 size)
>   at Google.GData.Client.GDataGAuthRequest.CopyRequestData() in C:
> \Google\Google SDK 1.1.4.1\Sources\Library\core\gauthrequest.cs:line
> 725
>   at Google.GData.Client.GDataGAuthRequest.Execute(Int32 iRetrying)
> in C:\Google\Google SDK 1.1.4.1\Sources\Library\core
> \gauthrequest.cs:line 688
>   at Google.GData.Client.GDataGAuthRequest.Execute() in C:\Google
> \Google SDK 1.1.4.1\Sources\Library\core\gauthrequest.cs:line 620
>   at Google.GData.Client.GDataLoggingRequest.Execute() in C:\Google
> \Google SDK 1.1.4.1\Sources\Library\core\logrequest.cs:line 171
>   at Google.GData.Client.Service.StreamInsert(Uri feedUri, AtomBase
> baseEntry, GDataRequestType type) in C:\Google\Google SDK
> 1.1.4.1\Sources\Library\core\service.cs:line 575
>   at Google.GData.Client.Service.Batch(AtomFeed feed, Uri batchUri)
> in C:\Google\Google SDK 1.1.4.1\Sources\Library\core\service.cs:line
> 773
>   at Google.GData.Apps.Migration.MailItemService.Batch(String domain,
> String userName, MailItemEntry[] entries) in C:\Google\Google SDK
> 1.1.4.1\Sources\Library\gapps\mailitemservice.cs:line 89
>
> Retrying always give me the exact same exception.
> The debug log contains no info.
> Any suggestions
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" 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-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to