1
Vote

Update Fails

description

Simple test with the new SDK 1.7 emulator
 
Create a table
Insert an item
Query for the item
Update field
Send update
 
Exception:
 
Cyan.CyanException was unhandled
Message=The condition specified using HTTP conditional header(s) is not met.
Source=Cyan
ErrorCode=ConditionNotMet
StackTrace:
   at Cyan.CyanRestResponse.ThrowIfFailed() in c:\Users\Massimo\Documents\Cyannet\Cyan\Cyan\CyanRestResponse.cs:line 58
   at Cyan.CyanTable.UpdateImpl(Object entity, Boolean throwOnPreconditionFailure, Boolean unconditionalUpdate) in c:\Users\Massimo\Documents\Cyannet\Cyan\Cyan\CyanTable.cs:line 177
   at Cyan.CyanTable.Update(Object entity, Boolean unconditionalUpdate) in c:\Users\Massimo\Documents\Cyannet\Cyan\Cyan\CyanTable.cs:line 139
   at CallSite.Target(Closure , CallSite , CyanTable , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)
   at WorkerRole1.WorkerRole.Run() in C:\Users\tylerd\Documents\Visual Studio 2010\Projects\WindowsAzure3\WorkerRole1\WorkerRole.cs:line 44
   at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.StartRoleInternal()
   at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.StartRole()
   at Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.<StartRole>b__1()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
InnerException:

comments