中国开发网: 论坛: 程序员情感CBD: 贴子 193961
sql: 没脾气,网站存在deallock问题。
Server Error in '/' Application.
--------------------------------------------------------------------------------

Transaction (Process ID 64) 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 64) 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 64) 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) +786162
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +684774
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +207
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1751
System.Data.SqlClient.SqlDataReader.HasMoreRows() +150
System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +203
System.Data.SqlClient.SqlDataReader.Read() +9
NoxForum.Framework.ForumSystem.GetMessages(IDataReader drMessages) +37
NoxForum.Framework.ForumSystem.GetMessageTreeHtml(IDataReader drMessageTree, Int32 nCurrentMessageGlobalID, MessageTreeRenderType RenderType, DateTime NewStartTime) +10
ASP.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) +784841
System.Web.UI.Control.OnLoad(EventArgs e) +102
NoxForum.Framework.Pages.BasePage.OnLoad(EventArgs e) +4
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1064




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44
就这样算了吧。

相关信息:


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