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

齐齐乐棋牌游戏中心_齐齐乐棋牌现金扎金花_齐齐乐棋牌电脑版

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

异常详细信息: System.InvalidOperationException: 齐齐乐棋牌游戏中心_齐齐乐棋牌现金扎金花_齐齐乐棋牌电脑版

源错误:


行 39:             if (conn.State != ConnectionState.Open)
行 40:             {
行 41:                 conn.Open();
行 42:             }
行 43:             SqlCommand com = new SqlCommand("", conn);

源文件: f:\usr\localuser\hgw031037\App_Code\SQLHelper.cs    行: 41

堆栈跟踪:


[InvalidOperationException: 齐齐乐棋牌游戏中心_齐齐乐棋牌现金扎金花_齐齐乐棋牌电脑版]
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +5383240
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
   System.Data.SqlClient.SqlConnection.Open() +96
   Syhmw.DBUtility.SQLHelper.PrepareCommand(SqlConnection conn, String sqlstr, Boolean typed, SqlParameter[] parm) in f:\usr\localuser\hgw031037\App_Code\SQLHelper.cs:41
   Syhmw.DBUtility.SQLHelper.ExecuteDataReader(String sqlstr) in f:\usr\localuser\hgw031037\App_Code\SQLHelper.cs:189
   news_detail.Page_Load(Object sender, EventArgs e) in f:\usr\localuser\hgw031037\news\detail.aspx.cs:22
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34209