[InvalidOperationException: ExecuteScalar requires an open and available Connection. The connection's current state is connecting.]
System.Data.OleDb.OleDbConnection.CheckStateOpen(String method) +994543
System.Data.OleDb.OleDbCommand.ValidateConnection(String method) +25
System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String method) +18
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +56
System.Data.OleDb.OleDbCommand.ExecuteScalar() +116
CateProxy.IsExistSubCate(Int32 id) in d:\wwwrootV2\CottonPro\App_Code\Proxy\CateProxy.cs:227
MasterPage.dlCateList_ItemDataBound(Object sender, DataListItemEventArgs e) in d:\wwwrootV2\cottonpro\MasterPage.master.cs:115
System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) +8770710
System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +137
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +459
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +54
System.Web.UI.WebControls.BaseDataList.DataBind() +55
System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +60
System.Web.UI.WebControls.BaseDataList.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
|