I was having a problem where an exception was being thrown when trying
to insert a new blogger or gcal entry.  This problem only manifest
itself around 1 in 300 times.

GCal throws a System.ArgumentOutOfRangeException exception and blogger
a Google.GData.Client.GDataRequestException exception.

I narrowed this down to a bug in the GData code.  the method
Google.GData.Client.AuthSubUtil.generateULONGRnd() has a bug in it
causing it to fail everyonce in a while with a
System.ArgumentOutOfRangeException.  It fails when the first byte of
the random string it is trying to generate ends up being a 0.  I fixed
this function, recompiled and never saw the exceptions again.

Just wanted to post this for any having the same problem.  Wanted to
save you a few hours of debugging : )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to