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

等待的操作过时。

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

异常详细信息: System.ComponentModel.Win32Exception: 等待的操作过时。

源错误:


行 17:             CommentId = Convert.ToInt32(Page.RouteData.Values["CommentId"]);
行 18:         }
行 19:         model = new BLL.B_vComment().GetCacheModel<Model.V_Comment>("Id="+CommentId+" and Status!=404");
行 20:         if (model == null)
行 21:         {

源文件: c:\wwwroot\MIP\CommentDetail.aspx.cs    行: 19

堆栈跟踪:


[Win32Exception (0x80004005): 等待的操作过时。]

[SqlException (0x80131904): 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: TCP Provider, error: 0 - 等待的操作过时。)]
   DAL.SqlHelper.sp_GetDataTable(String TableRow, String TableName, String strWhere, String strOrder, Int32 intNum) +1005
   DAL.BaseDAL.GetModel(String TableRow, String strWhere, String strOrder) +105
   BLL.BaseBLL.GetModel(String strWhere, String strOrder) +87
   BLL.BaseBLL.GetCacheModel(Int64 CacheId, String TableRow, String strWhere, String strOrder) +392
   BLL.BaseBLL.GetCacheModel(String strWhere) +98
   CommentDetail.Page_Load(Object sender, EventArgs e) in c:\wwwroot\MIP\CommentDetail.aspx.cs:19
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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