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

事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

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

异常详细信息: System.Data.SqlClient.SqlException: 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

源错误:

行 5687:        artdal.PStrOrder = " order by ELITEFLAG desc,createdate desc";
行 5688:        string strWere = "CATEGORYID=" + strCate;
行 5689:        List<ArticlecateviewModel> artlist = artdal.GetListTop(iTop, strWere, 1);
行 5690:        StringBuilder strHtml = new StringBuilder();
行 5691:        foreach (ArticlecateviewModel md in artlist)

源文件: d:\chinazy_new\App_Code\pageBaseUI.cs    行: 5689

堆栈跟踪:

[SqlException (0x80131904): 事务(进程 ID 64)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1099
   System.Data.SqlClient.SqlDataReader.HasMoreRows() +266
   System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +278
   DAL.ArticlecateviewDal.getModelList(SqlDataReader SqlDr) in F:\new\2\chinazy\chinazy\Dal\Core\ArticlecateviewDAL.cs:154
   DAL.ArticlecateviewDal.GetListTop(Int32 iTop, String strWhere, Int32 iOrder) in F:\new\2\chinazy\chinazy\Dal\Core\ArticlecateviewDAL.cs:141
   pageBaseUI.getdetailzjtg(String strCate, Int32 iTop, Int32 iLength, Int32 iSubLength) in d:\chinazy_new\App_Code\pageBaseUI.cs:5689
   ASP.models_adefault_detail_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\chinazy_new\models\adefault\detail.aspx:178
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +253
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240
   System.Web.UI.Page.Render(HtmlTextWriter writer) +38
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


版本信息: Microsoft .NET Framework 版本:2.0.50727.5485; ASP.NET 版本:2.0.50727.5491