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

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

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

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

源错误:


行 55:         ne.Title = this.TxtKey.Text.Trim();
行 56:         ne.TypeId = Convert.ToInt32(ViewState["Type"]);
行 57:         this.Rp.DataSource = NewsBll.GetAdminSearchList(ne, CutPage.CurrentPageIndex, CutPage.PageSize, ref count);
行 58:         this.Rp.DataBind();
行 59:         this.CutPage.RecordCount = count;

源文件: d:\web\city\news\newslist.aspx.cs    行: 57

堆栈跟踪:


[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
   YgDal.DBHelper.CutPage(String tbName, String filter, String orderFile, String where, Int32 page, Int32 size) +907
   YgDal.news.NewsDal.CutPage(String where, Int32 page, Int32 size, Int32& count) +202
   YgDal.news.NewsDal.GetAdminSearchList(NewsEnt ne, Int32 page, Int32 size, Int32& count) +732
   YgBll.news.NewsBll.GetAdminSearchList(NewsEnt ne, Int32 page, Int32 size, Int32& count) +78
   news_newslist.SetList() in d:\web\city\news\newslist.aspx.cs:57
   news_newslist.Page_Load(Object sender, EventArgs e) in d:\web\city\news\newslist.aspx.cs:37
   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