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 7: this.SetLevelTitle( 2, "最新信息" );
Line 8:
Line 9: ForumMessages messageList = ForumSystem.GetMessageListByLast( 1, 50, null );
Line 10:
Line 11: litMessageList.Text = ForumSystem.RenderMessageListHtml( messageList );
Source File: d:\zhaix\websites\cndev.org#www_NoxUs_1003\_addon\ForumSystem\msgs_recent.aspx Line: 9
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
MySql.Data.MySqlClient.MySqlHelper.ExecuteReader(String connectionString, String commandText) +6
NoxUs.Framework.Data.MysqlDbProvider.ExecuteReader(String sql) +10
NoxUs.Framework.ForumSystem.GetMessageListByLast(Int32 pageNumber, Int32 pageSize, MessagesFilter filter) +344
ASP._addon_forumsystem_msgs_recent_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www_NoxUs_1003\_addon\ForumSystem\msgs_recent.aspx:9
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) +2188
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614