“/”应用程序中的服务器错误。

伟德安卓下载_伟德国际唯一网址|官方入口

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Exception: 伟德安卓下载_伟德国际唯一网址|官方入口

源错误:


行 90:                 msg += ","+sql;
行 91:                 Exception qe = new Exception(msg);
行 92:                 throw qe;
行 93:             }
行 94:         }

源文件: d:\wwwroot\hk66713\WEB\App_Code\db.cs    行: 92

堆栈跟踪:


[Exception: System.Data.SqlClient.SqlException: 已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: TCP 提供程序, error: 0 - 信号灯超时时间已到)
   在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   在 System.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(Boolean encrypt, Boolean trustServerCert, Boolean& marsCapable)
   在 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean withFailover)
   在 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover)
   在 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
   在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
   在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
   在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
   在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
   在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
   在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
   在 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
   在 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   在 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   在 System.Data.SqlClient.SqlConnection.Open()
   在 db.connopen(SqlConnection conn) 位置 d:\wwwroot\hk66713\WEB\App_Code\db.cs:行号 43
   在 db.ds(String sql, String connstr) 位置 d:\wwwroot\hk66713\WEB\App_Code\db.cs:行号 72conn is not null,state is Closed,select * From newsclass order by list,id asc]
   db.ds(String sql, String connstr) in d:\wwwroot\hk66713\WEB\App_Code\db.cs:92
   db.ds(String sql) in d:\wwwroot\hk66713\WEB\App_Code\db.cs:99
   nclass.upNewsClassTab() in d:\wwwroot\hk66713\WEB\App_Code\nclass.cs:34
   nclass..cctor() in d:\wwwroot\hk66713\WEB\App_Code\nclass.cs:17

[TypeInitializationException: “nclass”的类型初始值设定项引发异常。]
   nclass.getAllClassid(String classid) in d:\wwwroot\hk66713\WEB\App_Code\nclass.cs:141
   news.bindNews(Repeater rpt, String classid, Int32 top, String whereStr) in d:\wwwroot\hk66713\WEB\App_Code\news.cs:130
   _default.Page_Load(Object sender, EventArgs e) in d:\wwwroot\hk66713\WEB\Default.aspx.cs:13
   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


版本信息: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762