"UpdateConditionNotSatisfied" error while using session managment through Azure storage
-
martes, 08 de febrero de 2011 14:09
Hi.
I have an application hosted on windows Azure which has the session management using Azure storage tables. Sometimes our client gets the following error. When I run this application at my end i am not getting this error.
The stack track says"Error accessing the data store". What could be the reason. One doubt we have is that we use the same azure accont for multiple version of the same application deployed at separate Windows Azure Service. Could that be a problem?
Server Error in '/' Application.
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> Â <code>UpdateConditionNotSatisfied</code> Â <message xml:lang="en-US">The update condition specified in the request was not satisfied. RequestId:2c0bbc7f-a131-42b1-91a2-20190786c202 Time:2011-02-08T13:32:57.2794466Z</message> </error>
Version Information:Â Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.Services.Client.DataServiceClientException: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> Â <code>UpdateConditionNotSatisfied</code> Â <message xml:lang="en-US">The update condition specified in the request was not satisfied. RequestId:2c0bbc7f-a131-42b1-91a2-20190786c202 Time:2011-02-08T13:32:57.2794466Z</message> </error> Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [DataServiceClientException: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>UpdateConditionNotSatisfied</code> <message xml:lang="en-US">The update condition specified in the request was not satisfied. RequestId:2c0bbc7f-a131-42b1-91a2-20190786c202 Time:2011-02-08T13:32:57.2794466Z</message> </error>] System.Data.Services.Client.<HandleBatchResponse>d__1e.MoveNext() +1864 [DataServiceRequestException: An error occurred while processing this request.] Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.get_Result() +96 Microsoft.WindowsAzure.StorageClient.Tasks.Task`1.ExecuteAndWait() +271 Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider.ReleaseItemExclusive(HttpContext context, String id, Object lockId) +221 [ProviderException: Error accessing the data store!] Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider.ReleaseItemExclusive(HttpContext context, String id, Object lockId) +317 System.Web.SessionState.SessionStateModule.GetSessionStateItem() +458 System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(Object state) +299 [HttpException (0x80004005): Exception of type 'System.Web.HttpException' was thrown.] System.Web.SessionState.SessionStateModule.EndAcquireState(IAsyncResult ar) +11343620 System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107
Todas las respuestas
-
lunes, 28 de febrero de 2011 2:37
Hello tumistry.
I guess you are using TableSessionProvider .
Please try to trace "ReleaseItemExclusive" Method of Microsoft.Samples.ServiceHosting.AspProviders.TableStorageSessionStateProvider Class.
I show you trace items following.
・HttpContext.Current.Request.Url.AbsolutePath
・DateTime.UtcNow- Marcado como respuesta Dave Robinson - SQL AzureMicrosoft Employee, Owner jueves, 31 de marzo de 2011 16:09

