[阅读: 598] 2010-08-21 12:51:09
Server Error in '/' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 91: else
Line 92: {
Line 93: messagesTree = ForumSystem.GetMessageTree(qsBoard, ForumSystem.BlockSearchType.First, 0, 20, out nFirstBlockID, out nLastBlockID);
Line 94: }
Line 95:
Source File: d:\zhaix\websites\cndev.org#www_NoxUs_1003\_addon\ForumSystem\bbs.aspx.cs Line: 93
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
MySql.Data.MySqlClient.MySqlConnection.get_ServerThread() +6
MySql.Data.MySqlClient.MySqlConnection.HandleTimeout(TimeoutException tex) +113
MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +902
MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(MySqlConnection connection, MySqlTransaction transaction, String commandText, MySqlParameter[] commandParameters, Boolean ExternalConn) +153
MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText, MySqlParameter[] commandParameters) +99
NoxUs.Framework.Data.MysqlDbProvider.ExecuteReader(String sql, MySqlParameter[] p) +15
NoxUs.Framework.ForumSystem.GetMessageTree(String BoardName, BlockSearchType bst, Int32 BlockID, Int32 PageSize, Int32& nFirstBlockID, Int32& nNextBlockID) +962
bbs_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www_NoxUs_1003\_addon\ForumSystem\bbs.aspx.cs:93
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +8
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +23
System.Web.UI.Control.OnLoad(EventArgs e) +73
NoxUs.Framework.Pages.BasePage.OnLoad(EventArgs e) +20
System.Web.UI.Control.LoadRecursive() +52
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2185