中国开发网: 论坛: 程序员情感CBD: 贴子 838463
haitao
果然慢!以前只是查看“我的主贴 ”经常超时,现在正好相反!!不同数据库的实现,对于同样的sql效果会截然相反的。。。。。。。
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
我的blog:http://szhaitao.blog.hexun.com & http://www.hoolee.com/user/haitao
--以上均为泛泛之谈--
不尽牛人滚滚来,无边硬伤纷纷现 人在江湖(出来的),哪能不挨刀(总归是要的)
网络对话,歧义纷生;你以为明白了对方的话,其实呢?

您所在的IP暂时不能使用低版本的QQ,请到:http://im.qq.com/下载安装最新版的QQ,感谢您对QQ的支持和使用

相关信息:


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