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

万博app网页版_万博体育app登入_万博体育电脑版登录

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

异常详细信息: System.InvalidOperationException: 万博app网页版_万博体育app登入_万博体育电脑版登录

源错误:


行 77:     private void SetAd_Head()
行 78:     {
行 79:         this.RpAd_Head.DataSource = AddOrderListBll.GetUiAds(Request.Cookies["Site"].Value, 14, 3);
行 80:         this.RpAd_Head.DataBind();
行 81:     }

源文件: d:\web\city\news\newsinfo.aspx.cs    行: 79

堆栈跟踪:


[InvalidOperationException: 万博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 sql, SqlParameter[] values) +291
   YgDal.Sys.Add.AddOrderListDal.GetUiAds(String areaid, Int32 mainlistid, Int32 top) +1139
   YgBll.Sys.Add.AddOrderListBll.GetUiAds(String areaid, Int32 mainlistid, Int32 top) +160
   news_newsinfo.SetAd_Head() in d:\web\city\news\newsinfo.aspx.cs:79
   news_newsinfo.Page_Load(Object sender, EventArgs e) in d:\web\city\news\newsinfo.aspx.cs:27
   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