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

亚博体育下载二维码_亚博在线娱乐官网app_亚博官网在线

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

异常详细信息: System.Data.SqlClient.SqlException: 亚博体育下载二维码_亚博在线娱乐官网app_亚博官网在线

源错误:


行 27:         list.Add(12);
行 28: 
行 29:         DataTable dt = ArticleBLL.GetArticleListNoTopNum(0, 5, list, ApplyStatus.Passed, ArticleType.Picture, ArticleStatus.Common);
行 30:         foreach (DataRow dr in dt.Rows)
行 31:         {

源文件: d:\20180413\tw.sxibs.com\tw.sxibs.com\Web_WebControl\Left.ascx.cs    行: 29

堆栈跟踪:


[SqlException (0x80131904): 亚博体育下载二维码_亚博在线娱乐官网app_亚博官网在线]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +115
   NS.DAL.SqlDbHelper.ExecuteDataTable(String commandText, CommandType commandType, SqlParameter[] parameters) in F:\资料\其他\团委\project\N_SwxyTw\NS.DAL\SqlDbHelper.cs:90
   NS.DAL.ArticleDAL.GetArticleListNoTopNum(Int32 nonum, Int32 size, List`1 catalogIdList, ApplyStatus applyStatus, ArticleType articleType, ArticleStatus articleStatus) in F:\资料\其他\团委\project\N_SwxyTw\NS.DAL\ArticleDAL.cs:1201
   NS.BLL.ArticleBLL.GetArticleListNoTopNum(Int32 nonum, Int32 size, List`1 catalogIdList, ApplyStatus applyStatus, ArticleType articleType, ArticleStatus articleStatus) in F:\资料\其他\团委\project\N_SwxyTw\NS.BLL\ArticleBLL.cs:712
   Web_WebControl_Left.getImgNews() in d:\20180413\tw.sxibs.com\tw.sxibs.com\Web_WebControl\Left.ascx.cs:29
   ASP.web_webcontrol_left_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\20180413\tw.sxibs.com\tw.sxibs.com\Web_WebControl\Left.ascx:6
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.index_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\a92df87f\f2856f3d\App_Web_ozqmpfoa.8.cs:0
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


版本信息: Microsoft .NET Framework 版本:2.0.50727.8806; ASP.NET 版本:2.0.50727.8762