“/”運用法式中的辦事器毛病。

SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY sort_id asc,add_time desc) as row_number, * FROM view_channel_catalog where datediff(d,add_time,getdate())>=0 and status=0) AS T WHERE row_number between 1 and 34履行超時已過時。完成操作之前已超時或辦事器未呼應。

解釋: 履行以後 Web 要求時代,湧現未經處置的異常。請檢討客棧跟蹤信息,以懂得有關該毛病和代碼中招致毛病的出處的具體信息。

異常具體信息: System.Exception: SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY sort_id asc,add_time desc) as row_number, * FROM view_channel_catalog where datediff(d,add_time,getdate())>=0 and status=0) AS T WHERE row_number between 1 and 34履行超時已過時。完成操作之前已超時或辦事器未呼應。

源毛病:

只要在調試形式下停止編譯時,生成此未經處置的異常的源代碼才會顯示出來。若要啓用此功效,請履行以下步調之一,然後要求 URL:

1. 在發生毛病的文件的頂部添加一條“Debug=true”指令。例如:

  <%@ Page Language="C#" Debug="true" %>

或:

2. 將以下的節添加到運用法式的設置裝備擺設文件中:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

請留意,第二個步調將使給定運用法式中的壹切文件在調試形式下停止編譯;第一個步調僅使該特定文件在調試形式下停止編譯。

主要事項: 以調試形式運轉運用法式必定會發生內存/機能體系開支。在安排到臨盆計劃之前,應確保運用法式調試已禁用。

客棧跟蹤:


[Exception: SELECT * FROM (SELECT ROW_NUMBER() OVER(ORDER BY sort_id asc,add_time desc) as row_number, * FROM view_channel_catalog where datediff(d,add_time,getdate())>=0 and status=0) AS T WHERE row_number between 1 and 34履行超時已過時。完成操作之前已超時或辦事器未呼應。 ]
   DTcms.DBUtility.DbHelperSQL.Query(String SQLString) +190
   DTcms.DAL.article.GetList(String channel_name, Int32 category_id, Int32 pageSize, Int32 pageIndex, String strWhere, String filedOrder, Int32& recordCount) +354
   DTcms.BLL.article.GetList(String channel_name, Int32 category_id, Int32 pageIndex, String strWhere, String filedOrder, Int32& recordCount, Int32& pageSize) +77
   DTcms.Web.UI.BasePage.get_article_list(String channel_name, Int32 category_id, Int32 page_index, String strwhere, Int32& totalcount, String& pagelist, String _key, Object[] _params) +110
   ASP.aspx_main_catalog_list_aspx.OnInit(EventArgs e) +3755
   System.Web.UI.Control.InitRecursive(Control namingContainer) +392
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1633


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4210.0