Okay, I have some new information.

The error occurs only if i open the spreadsheet in Google Docs and then 
close the tab. Everything works fine if i keep the spreadsheet tab open in 
the background.

When i try reading data after closing the spreadsheet tab i get the internal 
server error. This then "locks" the spreadsheet for a few minutes - all 
subsequent attempts to read the data fail. Trying to open the spreadsheet in 
Google Docs directly results in the error below.
Is there maybe some kind of caching going on that my attempt to read the 
data messes with?


Google Docs Error:

*We're sorry.*

We're sorry, a server error occurred. Please wait a bit and try reloading 
your spreadsheet. 

Find out more at the Google Docs Help 
Center<http://docs.google.com/support/bin/topic.py?topic=15115&hl=en>
.


Here is the code i use to read the data:

*AtomLink worksheetLink = entry.Links.FindService 
(GDataSpreadsheetsNameTable.WorksheetRel, null);

WorksheetQuery worksheetQuery = new WorksheetQuery 
(worksheetLink.HRef.ToString ());
WorksheetFeed worksheetFeed = googleServices.SpreadsheetsService.Query 
(worksheetQuery); // exception here

WorksheetEntry worksheetEntry = (WorksheetEntry)worksheetFeed.Entries[0];
AtomLink listFeedLink = worksheetEntry.Links.FindService 
(GDataSpreadsheetsNameTable.ListRel, null);

ListQuery listQuery = new ListQuery (listFeedLink.HRef.ToString ());
ListFeed listFeed = googleServices.SpreadsheetsService.Query (listQuery);*


Martin

Reply via email to