[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
html_product_index.Page_Load(Object sender, EventArgs e) in d:\web\官网\cogitosoft.com\cogitosoft.com\cogitosoft.com\www\html\product\index.aspx.cs:23
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +95
System.Web.UI.Control.LoadRecursive() +59
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678
|