This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a 'Company' entity that has a one to many relationship with an 'Employee' entity. When I want to create new employee, I perform a query to get the specific instance of the company for which I want to add the employee to. When I perform this basic operation, I get an exception indicating a bad request to the azure table storage service. Specifically, I get the exception on the company.Employees.Add(newEmployee) line. // Example code
If on the other hand, the code below works fine
Stack Trace: at System.Net.HttpWebRequest.GetResponse()
at . . . . ( , IEnumerable |
|
|
By the way, using SQL Azure works completely fine. I used my same code but just modified the connection string / provider info. So it seems the problem has something to do with the provider implementation for table storage. |
|
|
Sorry for the delay in getting back to you on this. The response you are getting from Azure indicates an error completing the call, presumably because of an error performing the insert due to bad data or the like. Are you able to use Fiddler to capture the traffic for the web call between your application and Azure and then send us through the details on the response (if this contains any sensitive data please feel free to email this through to support at mindscape rather than attach it here).
|
|