ErrorCode< ERRCA0012&gt ;:SubStatus< ES0001>:被引用的对象未被任何客户端锁定。 [英] ErrorCode<ERRCA0012>:SubStatus<ES0001>:Object being referred to is not locked by any client.

查看:146
本文介绍了ErrorCode< ERRCA0012&gt ;:SubStatus< ES0001>:被引用的对象未被任何客户端锁定。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用.Net 4.0 / MVC 2 Web应用程序来使用AppFabric来处理会话状态缓存。 该应用程序在Server 2008 Datacenter框(SP2,build 6002)上运行。

I'm trying to get an .Net 4.0/MVC 2 web application to use AppFabric to handle the session state caching.  The application is running on a Server 2008 Datacenter box (SP2, build 6002).

当我尝试登录时,我最终得到以下错误,Google无法帮助我解决此问题。

When I try to log in, I eventually get the following error that Google's not helping me resolve.

ErrorCode<ERRCA0012>:SubStatus<ES0001>:Object being referred to is not locked by any client. 
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: Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0012>:SubStatus<ES0001>:Object being referred to is not locked by any client.

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: 


[DataCacheException: ErrorCode<ERRCA0012>:SubStatus<ES0001>:Object being referred to is not locked by any client.]
  Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody) +336
  Microsoft.ApplicationServer.Caching.DataCache.InternalPutAndUnlock(String key, Object value, DataCacheLockHandle lockHandle, TimeSpan timeout, DataCacheTag[] tags, String region) +244
  Microsoft.ApplicationServer.Caching.DataCache.PutAndUnlock(String key, Object value, DataCacheLockHandle lockHandle, TimeSpan timeout) +136
  Microsoft.ApplicationServer.Caching.DataCacheSessionStoreProvider.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +1381
  System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +929
  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +266

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1 


有什么想法吗?

Any ideas?

推荐答案

你好,我有同样的问题,但更奇怪。这里我们使用appfabric作为sessionstate并且没有缓存任何对象!并且仍然有一些时间锁定我们的iis并强迫我们回收的相同错误!
hi there, am having the same problem but more strange. the point here that we are using appfabric as sessionstate and no objects are cached !!! and still have the same error from time to time which some time locks our iis and force us to recycle !


这篇关于ErrorCode&lt; ERRCA0012&gt ;:SubStatus&lt; ES0001&gt;:被引用的对象未被任何客户端锁定。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆