"The DataCacheLockHandle passed is invalid" Exception

Unanswered "The DataCacheLockHandle passed is invalid" Exception

  • 10 ianuarie 2011 20:31
     
     

    Hi,

    I am getting following exception while using AppFabric caching for asp.net session state management:

    ErrorCode:SubStatus:The DataCacheLockHandle passed is invalid.

    General Information
    *********************************************
    Additional Info:
    LoggedInUser: Default
    MachineName: TESTPC
    TimeStamp: 01/10/2011 3:21:57 PM
    FullName: TESTDB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
    AppDomainName: /LM/W3SVC/1/ROOT/XSM571/UI-1-129391641419209441
    ThreadIdentity: testuser
    WindowsIdentity: IIS APPPOOL\DefaultAppPool

    Message/Source Information
    *********************************************
    Message: ErrorCode:SubStatus:The DataCacheLockHandle passed is invalid.
    HelpLink: http://go.microsoft.com/fwlink/?LinkId=164049
    Source: testDB
    URL: /testapp/UI/Home.aspx

    Exception Detail
    *********************************************
    Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode:SubStatus:The DataCacheLockHandle passed is invalid.
    at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody)
    at Microsoft.ApplicationServer.Caching.DataCache.ExecuteAPI(RequestBody reqMsg)
    at Microsoft.ApplicationServer.Caching.DataCache.InternalPutAndUnlock(String key, Object value, DataCacheLockHandle lockHandle, TimeSpan timeout, DataCacheTag[] tags, String region)
    at Microsoft.ApplicationServer.Caching.DataCache.PutAndUnlock(String key, Object value, DataCacheLockHandle lockHandle, TimeSpan timeout)
    at Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem)
    at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    I could not find any reference on MSDN or any where else... Any help would be great help.
    --
    Jignesh Patel

Toate mesajele

  • 11 mai 2012 22:16
     
     
    I 'm getting same error,Is solution?
  • 21 mai 2012 13:56
     
     

    Hi,

    Which version of Appfabric Caching Server are you using? Is it 1.0 or 1.1 ?

    Can you share web.config you are using?

    Thanks,

    Neha