“/”应用程序中的服务器错误。

System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while reading from the store provider's data reader. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Transaction (Process ID 144) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
  在 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.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
  --- 内部异常堆栈跟踪的结尾 ---
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.HandleReaderException(Exception e)
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
  在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  在 HeadHunter.Web.PortalService.Portals.<>c__DisplayClass43_1.<SearchRecommendAdvisers>b__1(AdvisersRecommend s) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
  在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
  在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  在 HeadHunter.Web.PortalService.Portals.SearchRecommendAdvisers(SearchRaResuleParameters sp) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
  --- 内部异常堆栈跟踪的结尾 ---

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while reading from the store provider's data reader. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Transaction (Process ID 144) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
  在 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.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
  --- 内部异常堆栈跟踪的结尾 ---
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.HandleReaderException(Exception e)
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
  在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
  在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  在 HeadHunter.Web.PortalService.Portals.<>c__DisplayClass43_1.<SearchRecommendAdvisers>b__1(AdvisersRecommend s) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
  在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
  在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
  在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
  在 HeadHunter.Web.PortalService.Portals.SearchRecommendAdvisers(SearchRaResuleParameters sp) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
  --- 内部异常堆栈跟踪的结尾 ---

源错误:

执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SoapException: System.Web.Services.Protocols.SoapException: 服务器无法处理请求。 ---> System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while reading from the store provider's data reader. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Transaction (Process ID 144) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
   在 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.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
   --- 内部异常堆栈跟踪的结尾 ---
   在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.HandleReaderException(Exception e)
   在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.StoreRead()
   在 System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 HeadHunter.Web.PortalService.Portals.<>c__DisplayClass43_1.<SearchRecommendAdvisers>b__1(AdvisersRecommend s) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
   在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   在 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   在 HeadHunter.Web.PortalService.Portals.SearchRecommendAdvisers(SearchRaResuleParameters sp) 位置 D:\WorkSpace\trunk\HeadHunter.Web.PortalService\Portals.asmx.cs:行号 1804
   --- 内部异常堆栈跟踪的结尾 ---]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +239796
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +267
   HeadHunter.Web.Portal.PortalService.Portals.SearchRecommendAdvisers(SearchRaResuleParameters sp) in D:\IIS30.8\HeadHunter.Web.Portal\Web References\PortalService\Reference.cs:1439
   HeadHunter.Web.Portal.HeadHuntersOnline.Page_Load(Object sender, EventArgs e) in D:\IIS30.8\HeadHunter.Web.Portal\HeadHuntersOnline.aspx.cs:41
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   HeadHunter.Web.Portal.Core.PortalPage.OnLoad(EventArgs e) in D:\IIS30.8\HeadHunter.Web.Portal\Core\PortalPage.cs:14
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1377


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.2623.0