[InvalidOperationException: ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为打开。]
System.Data.SqlClient.SqlConnection.GetOpenConnection(String method) +2566884
System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command) +76
System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) +268
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +118
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +64
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +161
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +41
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +12
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +139
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +136
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +88
db.getdataset(String sql) in d:\web\官网\cogitosoft.com\cogitosoft.com\cogitosoft.com\www\App_Code\db.cs:93
db.v(String str) in d:\web\官网\cogitosoft.com\cogitosoft.com\cogitosoft.com\www\App_Code\db.cs:55
m.getconfig(String str) in d:\web\官网\cogitosoft.com\cogitosoft.com\cogitosoft.com\www\App_Code\m.cs:555
ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\web\官网\cogitosoft.com\cogitosoft.com\cogitosoft.com\www\Default.aspx:9
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1303
|