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

新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版

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

异常详细信息: System.InvalidOperationException: 新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版

源错误:


行 31:     {
行 32:         //全部
行 33:         DataTable dt = SysAreaBll.GetCounty(Request.Cookies["Site"].Value);
行 34:         this.RpArea.DataSource = dt;
行 35:         this.RpArea.DataBind();

源文件: d:\web\city\company\newslist.aspx.cs    行: 33

堆栈跟踪:


[InvalidOperationException: 新万博app苹果版下载_万博体育app万博体育app_万博手机客户端苹果版]
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +6322641
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6322983
   System.Data.SqlClient.SqlConnection.Open() +258
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +53
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +188
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +573
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +166
   YgDal.DBHelper.GetTable(String safeSql) +242
   YgDal.Sys.SysAreaDal.GetCounty(String code) +228
   YgBll.Sys.SysAreaBll.GetCounty(String code) +50
   company_newslist.SetAreaList() in d:\web\city\company\newslist.aspx.cs:33
   company_newslist.Page_Load(Object sender, EventArgs e) in d:\web\city\company\newslist.aspx.cs:24
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


版本信息: Microsoft .NET Framework 版本:2.0.50727.8000; ASP.NET 版本:2.0.50727.8001