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

等待的操作过时。

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

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

源错误:


行 170:                         select temp).Take(takes).Skip(skips);
行 171:
行 172:            return query.ToList();
行 173:        }
行 174:    }

源文件: d:\wwwroot\heee-biogas.com\App_Code\SiteBasic.cs    行: 172

堆栈跟踪:


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

[SqlException (0x80131904): 执行超时已过期。完成操作之前已超时或服务器未响应。 ]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +94
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +297
   System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +634
   System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() +200
   System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() +109
   System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() +78
   System.Data.SqlClient.TdsParserStateObject.TryReadByteArray(Byte[] buff, Int32 offset, Int32 len, Int32& totalRead) +62
   System.Data.SqlClient.TdsParserStateObject.TryReadString(Int32 length, String& value) +102
   System.Data.SqlClient.TdsParser.TryReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +316
   System.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj, SqlCommandColumnEncryptionSetting columnEncryptionOverride, String columnName) +533
   System.Data.SqlClient.SqlDataReader.TryReadColumnData() +120
   System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly) +61
   System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) +96
   System.Data.SqlClient.SqlDataReader.GetString(Int32 i) +32
   Read_Basic_View(ObjectMaterializer`1 ) +3685
   System.Data.Linq.SqlClient.ObjectReader`2.MoveNext() +33
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +246
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
   SiteBasic.getBasicInfoList(Int32 classId, String key, Int32 curpage, Int32 pagesize, Int32& records) in d:\wwwroot\heee-biogas.com\App_Code\SiteBasic.cs:172
   news.Bind() in d:\wwwroot\heee-biogas.com\news.aspx.cs:48
   news.Page_Load(Object sender, EventArgs e) in d:\wwwroot\heee-biogas.com\news.aspx.cs:17
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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