In this case you might want to set the timeout property on the requestfactory object of the service you are using....
Frank Mantek Google On May 5, 2008, at 8:28 AM, Bam wrote: > > Hi, > > I also get this error message. > > Google.GData.Client.GDataRequestException: Execution of request > failed: > https://apps-apis.google.com/a/feeds/migration/2.0/domainName/username/mail/batch > ---> System.Net.WebException: The operation has timed out at > System.Net.HttpWebRequest.GetResponse() at > Google.GData.Client.GDataRequest.Execute() --- End of inner exception > stack trace --- at Google.GData.Client.GDataRequest.Execute() at > Google.GData.Client.GDataGAuthRequest.Execute(Int32 iRetrying) at > Google.GData.Client.GDataGAuthRequest.Execute() at > Google.GData.Client.Service.StreamInsert(Uri feedUri, AtomBase > baseEntry, GDataRequestType type) at > Google.GData.Client.Service.Batch(AtomFeed feed, Uri batchUri) at > Google.GData.Apps.Migration.MailItemService.Batch(String domain, > String userName, MailItemEntry[] entries) at > EmailMigration.Migration(MailItemService mailItemService, String[] > arrMessage, String userName, String domain, String place, String[] > IsRead) in c:\Inetpub\wwwroot\EmailMigration\App_Code > \EmailMigration.cs:line 47 at TotalSize.Page_Load(Object sender, > EventArgs e) in c:\Inetpub\wwwroot\EmailMigration > \TotalSize.aspx.cs:line 240 > > How about it?? > > Thanks a lot > > On Apr 17, 7:14 am, "Q (Google)" <[EMAIL PROTECTED]> wrote: >> Hi, >> >> To stay under the 32MB limit per POST request, you can try putting in >> your code a size count for each message. Then, you can batch up your >> messages one by one until you reach some size just under 32MB before >> sending the batch in a request. >> >> Keep in mind that the maximum message size that Gmail accepts is >> 20MB, >> so you are not likely to encounter a single message that is over 32MB >> in size: >> >> http://mail.google.com/support/bin/answer.py?answer=6589 >> >> To learn more about the Email Migration API and batch processing, >> please visit these links: >> >> http://code.google.com/apis/apps/email_migration/developers_guide_pro...http://code.google.com/apis/gdata/batch.html >> >> -Q >> >> On Apr 7, 2:04 am, Bam <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >>> when i might post 500MB email messages which one request maximum of >>> 32MB of data??- Hide quoted text - >> >> - Show quoted text - > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
