Wednesday, March 9, 2011

Azure "DataServiceQueryException was unhandled"

System.Data.Services.Client.DataServiceQueryException was unhandled 

Message -An error occurred while processing this request.
 
Inner Exception Message - One of the request inputs is not valid.


1)Don't forget that you need to create the tables programmatically if they don't already exist. Something like this:

            tableClient.CreateTableIfNotExist("Customer");

2)Insert before Querying a table:

I finally found out that when using local storage, you must insert a record into a table before querying it. Note that a record does not have to be in the table when you are actually querying it, but one has to have existed in the table at some point. Note that this ONLY applies to local storage, cloud storage does not have this limitation.

No comments:

Post a Comment