错误信息
事务(进程 ID 70)与另一个进程被死锁在 锁 | 通信缓冲区 资源上,并且已被选作死锁牺牲品。请重新运行该事务。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) 在 System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) 在 System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) 在 System.Data.SqlClient.SqlDataReader.Read() 在 System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) 在 System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) 在 System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) 在 JacarandaX.DataAccess.Select(DbCommand command, DatabaseConfig config, Transaction transaction) 在 JacarandaX.SqlQueryable`1.SelectItems() 在 JacarandaX.SqlQueryable`1.GetEnumerator() 在 System.Linq.Buffer`1..ctor(IEnumerable`1 source) 在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 Biaowu.Storage.BiaowuStorage.SearchBiaowusByPurchaseCount(Int32 exceptAutoID, Int32 count) 位置 c:\工作空间\代码\dotnet\计量院\Biaowu\Biaowu.Storage\BiaowuStorage.cs:行号 768 在 Biaowu.Domain.BiaowuScript.SearchBiaowusByPurchaseCount(Int32 exceptAutoID, Int32 count) 位置 c:\工作空间\代码\dotnet\计量院\Biaowu\Biaowu.Domain\BiaowuEntityScript.cs:行号 648 在 Biaowu.Areas.Web.Controllers.OrderingController.MaterialDetail(Int32 autoID) 位置 c:\工作空间\代码\dotnet\计量院\Biaowu\Biaowu\Areas\Web\Controllers\OrderingController.cs:行号 357 在 lambda_method(Closure , ControllerBase , Object[] ) 在 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) 在 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__36(IAsyncResult asyncResult, ActionInvocation innerInvokeState) 在 System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3c() 在 System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass45.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3e()