Message:Connection must be valid and open
URL:
http://localhost/stockagent/zh-hk/default.aspx
StackTrace:
at MySql.Data.MySqlClient.MySqlCommand.CheckState()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at StockAgent.MySql.mySqlLayer.ExecuteDataSet(MySqlConnection mcon, String storeprocedure, Int32 flag, String[] paraName, String[] paraValue) in d:\Project\StockAgent\StockAgent\App_Code\mySqlLayer.cs:line 129
at zh_cn_downLoadl.fillData(String[] spvalue, GridView gvControl) in d:\Project\StockAgent\StockAgent\UserControl\downLoadl.ascx.cs:line 256
at zh_cn_downLoadl.InitialLoadData(String[] spvalue) in d:\Project\StockAgent\StockAgent\UserControl\downLoadl.ascx.cs:line 179
at zh_cn_downLoadl.Page_Load(Object sender, EventArgs e) in d:\Project\StockAgent\StockAgent\UserControl\downLoadl.ascx.cs:line 80
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I am sure the code is no bug,but this error appear without day,what wrong? help me....
Is the connector's bug? I am used 5.1.6.0 connector
Edited 1 time(s). Last edit at 09/29/2008 09:16PM by kzm85 kzm85.