中国开发网: 论坛: 程序员情感CBD: 贴子 224722
haitao
原来不是网络的问题,而是数据库的问题
网络都很好的:
Reply from 61.134.37.41: bytes=32 time=64ms TTL=116
Reply from 61.134.37.41: bytes=32 time=64ms TTL=116
Reply from 61.134.37.41: bytes=32 time=68ms TTL=116
Reply from 61.134.37.41: bytes=32 time=70ms TTL=116
Reply from 61.134.37.41: bytes=32 time=67ms TTL=116
Reply from 61.134.37.41: bytes=32 time=67ms TTL=116
Reply from 61.134.37.41: bytes=32 time=59ms TTL=116
Reply from 61.134.37.41: bytes=32 time=60ms TTL=116
Reply from 61.134.37.41: bytes=32 time=68ms TTL=116
Reply from 61.134.37.41: bytes=32 time=60ms TTL=116
Reply from 61.134.37.41: bytes=32 time=72ms TTL=116
Reply from 61.134.37.41: bytes=32 time=73ms TTL=116
Reply from 61.134.37.41: bytes=32 time=65ms TTL=116
Reply from 61.134.37.41: bytes=32 time=72ms TTL=116
Reply from 61.134.37.41: bytes=32 time=63ms TTL=116
Reply from 61.134.37.41: bytes=32 time=58ms TTL=116
Reply from 61.134.37.41: bytes=32 time=69ms TTL=116
Reply from 61.134.37.41: bytes=32 time=67ms TTL=116
Reply from 61.134.37.41: bytes=32 time=58ms TTL=116
Reply from 61.134.37.41: bytes=32 time=61ms TTL=116
Reply from 61.134.37.41: bytes=32 time=71ms TTL=116


Server Error in '/' Application.
--------------------------------------------------------------------------------

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
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: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

Source Error:


Line 138: else
Line 139: {
Line 140: drMessageTree = ForumSystem.GetMessageTreeReader( qsBoard, ForumSystem.BlockSearchType.First, 0, 20, out nFirstBlockID, out nLastBlockID );
Line 141: }
Line 142:


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

Stack Trace:


[SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.]
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.SetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo) +806475
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1537
System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +31
System.Data.SqlClient.SqlDataReader.get_MetaData() +62
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +297
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +122
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) +62
Nox.Common.Data.SqlHelper.ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, String commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlHelper.cs:701
Nox.Common.Data.SqlHelper.ExecuteReader(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlHelper.cs:756
Nox.Common.Data.SqlDbProvider.ExecuteReader(String sql, SqlParameter[] p) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlDbProvider.cs:62
NoxForum.Framework.ForumSystem.GetMessageTreeReader(String BoardName, BlockSearchType bst, Int32 BlockID, Int32 PageSize, Int32& nFirstBlockID, Int32& nLastBlockID) +1056
ASP.forum_bbs_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\forum\bbs.aspx:140
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) +29
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
我的blog:http://szhaitao.blog.hexun.com & http://www.hoolee.com/user/haitao
--以上均为泛泛之谈--
不尽牛人滚滚来,无边硬伤纷纷现 人在江湖(出来的),哪能不挨刀(总归是要的)
网络对话,歧义纷生;你以为明白了对方的话,其实呢?

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

相关信息:


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