Server Error in '/' Application. -------------------------------------------------------------------------------- Process ID 67 attempted to unlock a resource it does not own: LockRef 0x0000000080113400..灐숦......秼숦..數숦..ᆶ..瓀숦..數숦..灐숦..焰숦....濰숦..ᆶ.. .. ..È錽........贐..................澀숦..ᆶ..爠숦..깘㛳꣮.....ᕑ.....ᆶ..ۈຌ.....៘..ↀꧻ..ۈຌ..隀̝......ᆶ..䆕..數숦.....須㛳꣮.ۈຌ..ÿ...贐낐............節숦..ᆶ..........ᷝ......糨숦......數숦.. Retry the transaction, because this error may be caused by a timing condition. If the problem persists, contact the database administrator. A severe error occurred on the current command. The results, if any, should be discarded. Location: qxcntxt.cpp:1052 Expression: cref == 0 SPID: 67 Process ID: 1732 Location: qxcntxt.cpp:985 Expression: 0 == cRef SPID: 67 Process ID: 1732 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.SqlClient.SqlException: Process ID 67 attempted to unlock a resource it does not own: LockRef 0x0000000080113400..灐숦......秼숦..數숦..ᆶ..瓀숦..數숦..灐숦..焰숦....濰숦..ᆶ.. .. ..È錽........贐..................澀숦..ᆶ..爠숦..깘㛳꣮.....ᕑ.....ᆶ..ۈຌ.....៘..ↀꧻ..ۈຌ..隀̝......ᆶ..䆕..數숦.....須㛳꣮.ۈຌ..ÿ...贐낐............節숦..ᆶ..........ᷝ......糨숦......數숦.. Retry the transaction, because this error may be caused by a timing condition. If the problem persists, contact the database administrator. A severe error occurred on the current command. The results, if any, should be discarded. Location: qxcntxt.cpp:1052 Expression: cref == 0 SPID: 67 Process ID: 1732 Location: qxcntxt.cpp:985 Expression: 0 == cRef SPID: 67 Process ID: 1732 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: [SqlException (0x80131904): Process ID 67 attempted to unlock a resource it does not own: LockRef 0x0000000080113400..灐숦......秼숦..數숦..ᆶ..瓀숦..數숦..灐숦..焰숦....濰숦..ᆶ.. .. ..È錽........贐..................澀숦..ᆶ..爠숦..깘㛳꣮.....ᕑ.....ᆶ..ۈຌ.....៘..ↀꧻ..ۈຌ..隀̝......ᆶ..䆕..數숦.....須㛳꣮.ۈຌ..ÿ...贐낐............節숦..ᆶ..........ᷝ......糨숦......數숦.. Retry the transaction, because this error may be caused by a timing condition. If the problem persists, contact the database administrator. A severe error occurred on the current command. The results, if any, should be discarded. Location: qxcntxt.cpp:1052 Expression: cref == 0 SPID: 67 Process ID: 1732 Location: qxcntxt.cpp:985 Expression: 0 == cRef SPID: 67 Process ID: 1732] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2062078 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5050204 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275 System.Data.SqlClient.SqlDataReader.HasMoreRows() +211 System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +217 System.Data.SqlClient.SqlDataReader.Read() +9 NHibernate.Driver.NHybridDataReader.Read() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Driver\NHybridDataReader.cs:116 NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Loader\Loader.cs:465 NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Loader\Loader.cs:243 NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Loader\Loader.cs:1500 [GenericADOException: could not initialize a collection: [RIMS.Core.Domain.CourtCase.CompletedSteps#277225][SQL: SELECT completeds0_.CourtCase_id as CourtCase15_1_, completeds0_.WorkFlowStepInstanceId as WorkFlow1_1_, completeds0_.WorkFlowStepInstanceId as WorkFlow1_57_0_, completeds0_.WorkFlowStepType as WorkFlow2_57_0_, completeds0_.DateStarted as DateStar3_57_0_, completeds0_.DateCompleted as DateComp4_57_0_, completeds0_.Complete as Complete57_0_, completeds0_.Skipped as Skipped57_0_, completeds0_.Blocker as Blocker57_0_, completeds0_.[Order] as Order8_57_0_, completeds0_.UnitsUntilExecution as UnitsUnt9_57_0_, completeds0_.ExecutionDate as Executi10_57_0_, completeds0_.Created as Created57_0_, completeds0_.Edited as Edited57_0_, completeds0_.EditedBy as EditedBy57_0_, completeds0_.CreatedBy as CreatedBy57_0_, completeds0_.CourtCase_id as CourtCase15_57_0_ FROM [WorkFlowStepInstance] completeds0_ WHERE ((completeds0_.Complete = 1)) and completeds0_.CourtCase_id=? ORDER BY completeds0_.DateCompleted]] NHibernate.Loader.Loader.LoadCollection(ISessionImplementor session, Object id, IType type) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Loader\Loader.cs:1509 NHibernate.Loader.Collection.CollectionLoader.Initialize(Object id, ISessionImplementor session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Loader\Collection\CollectionLoader.cs:35 NHibernate.Persister.Collection.AbstractCollectionPersister.Initialize(Object key, ISessionImplementor session) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Persister\Collection\AbstractCollectionPersister.cs:578 NHibernate.Event.Default.DefaultInitializeCollectionEventListener.OnInitializeCollection(InitializeCollectionEvent event) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Event\Default\DefaultInitializeCollectionEventListener.cs:50 NHibernate.Impl.SessionImpl.InitializeCollection(IPersistentCollection collection, Boolean writing) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Impl\SessionImpl.cs:1590 NHibernate.Collection.AbstractPersistentCollection.Initialize(Boolean writing) in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Collection\AbstractPersistentCollection.cs:463 NHibernate.Collection.AbstractPersistentCollection.ReadSize() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Collection\AbstractPersistentCollection.cs:290 NHibernate.Collection.PersistentBag.get_Count() in d:\CSharp\NH\NH\nhibernate\src\NHibernate\Collection\PersistentBag.cs:408 RIMS.Core.Services.CourtCaseService.CalculateExecutionDate(CourtCase courtCase, Int32 unitsUntilExection) in h:\CI\revenue-shield-stable\build\RIMS.Core\Services\CourtCaseService.cs:478 RIMS.Core.Services.CourtCaseService.Create(CourtCase t) in h:\CI\revenue-shield-stable\build\RIMS.Core\Services\CourtCaseService.cs:551 RIMS.Core.Services.CourtCaseService.GetById(Object id) in h:\CI\revenue-shield-stable\build\RIMS.Core\Services\CourtCaseService.cs:431 RIMS.Areas.Prosecutions.Controllers.CourtCaseController.Edit(Int64 id) in h:\CI\revenue-shield-stable\build\RIMS\Areas\Prosecutions\Controllers\CourtCaseController.cs:278 lambda_method(Closure , ControllerBase , Object[] ) +104 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +208 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27 System.Web.Mvc.<>c__DisplayClass15.b__12() +55 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +263 System.Web.Mvc.<>c__DisplayClass17.b__14() +19 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +263 System.Web.Mvc.<>c__DisplayClass17.b__14() +19 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +191 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +343 System.Web.Mvc.Controller.ExecuteCore() +116 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +97 System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10 System.Web.Mvc.<>c__DisplayClassb.b__5() +37 System.Web.Mvc.Async.<>c__DisplayClass1.b__0() +21 System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +12 System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62 System.Web.Mvc.<>c__DisplayClasse.b__d() +50 System.Web.Mvc.SecurityUtil.b__0(Action f) +7 System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +22 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +60 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8897857 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1