Server Error in '/' Application.

事务(进程 ID 54)与另一个进程被死锁在 锁 | 一般的可等待对象 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

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: 事务(进程 ID 54)与另一个进程被死锁在 锁 | 一般的可等待对象 资源上,并且已被选作死锁牺牲品。请重新运行该事务。

Source Error:


Line 36: 
Line 37:                 news.Click++;
Line 38:                 FylNewsManager.ModifyFylNews(news);
Line 39:                 this.Title = news.Title;
Line 40:                 IList<FylNews> newsList = new List<FylNews>();

Source File: d:\X新安中学\Web\News_Details.aspx.cs    Line: 38

Stack Trace:


[SqlException (0x80131904): 事务(进程 ID 54)与另一个进程被死锁在 锁 | 一般的可等待对象 资源上,并且已被选作死锁牺牲品。请重新运行该事务。]
   DAL.FylNewsService.ModifyFylNews(FylNews fylNews) in G:\Project\六安通用共享三层\DAL\AutoGenerate\FylNewsService.cs:162
   BLL.FylNewsManager.ModifyFylNews(FylNews fylNews) in G:\Project\六安通用共享三层\BLL\AutoGenerate\FylNewsManager.cs:67
   News_Details.Page_Load(Object sender, EventArgs e) in d:\X新安中学\Web\News_Details.aspx.cs:38
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


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