中国开发网: 论坛: 程序员情感CBD: 贴子 208413
nostalgic: .....
Server Error in '/' Application.
--------------------------------------------------------------------------------

Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
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: Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Source Error:


Line 160: else
Line 161: {
Line 162: litMsgTree.Text = ForumSystem.GetMessageTreeHtml( drMessageTree, -1, NoxForum.Framework.ForumSystem.MessageTreeRenderType.Normal, System.DateTime.Now.AddDays( -1 ) );
Line 163: }
Line 164: }


Source File: d:\zhaix\websites\cndev.org#www\forum\bbs.aspx Line: 162

Stack Trace:


[SqlException (0x80131904): Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +856218
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +733862
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
System.Data.SqlClient.SqlDataReader.HasMoreRows() +150
System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +214
System.Data.SqlClient.SqlDataReader.Read() +9
NoxForum.Framework.ForumSystem.GetMessages(IDataReader drMessages) in D:\Projects-mine\NoxForum\NoxForum.Framework\ForumSystem.cs:236
NoxForum.Framework.ForumSystem.GetMessageTreeHtml(IDataReader drMessageTree, Int32 nCurrentMessageGlobalID, MessageTreeRenderType RenderType, DateTime NewStartTime) in D:\Projects-mine\NoxForum\NoxForum.Framework\ForumSystem.cs:1048
ASP.forum_bbs_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\forum\bbs.aspx:162
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +781567
System.Web.UI.Control.OnLoad(EventArgs e) +99
NoxForum.Framework.Pages.BasePage.OnLoad(EventArgs e) in D:\Projects-mine\NoxForum\NoxForum.Framework\Pages\BasePage.cs:41
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录