当前位置:编程学习 > C#/ASP.NET >>

Server Error in '/' Application.会员无法登陆,请帮忙解决

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: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

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) +1950890
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4846875
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
   System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) +192
   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +317
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137
   Shuziren.Data.myweb.myquery(String O00) +101
   huiyuan_login.Page_Load(Object O10lOO, EventArgs O) +9588
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 
--------------------编程问答-------------------- System.Data.SqlClient.SqlException: Timeout expired.

查询超时了 --------------------编程问答-------------------- 请问怎么解决啊 之前都是挺好的 --------------------编程问答-------------------- 嗯,是查询超时了,或者是连接数据库超时了,有可能是你的网络有问题 --------------------编程问答-------------------- http://topic.csdn.net/u/20091120/17/1c1d994a-e2bd-48c3-b04e-58de64e11558.html --------------------编程问答-------------------- 是否网络连接数据库的网络有问题 或者说数据量比较大 你执行查询的时候超出了默认的允许时间 你加上try{}catch(){}可以看捕获的异常 自己加断点调试。 --------------------编程问答-------------------- 新手不知道怎么弄啊 --------------------编程问答-------------------- 检查你的sql语句,检查你的数据读取方法。 --------------------编程问答-------------------- 看看,你登录的时候,是否与后台进行了正常的通信,检查你的连接语句
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,