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

雷火app官网-雷火app官网下载-雷火电竞亚洲

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

异常详细信息: System.Data.SqlClient.SqlException: 雷火app官网-雷火app官网下载-雷火电竞亚洲

源错误:


行 98:                 int isvip = Convert.ToInt32(tableCompanyInfo.Rows[0]["Comusertype"]);
行 99: 
行 100:                DataTable recommendp = wd.WebGetDataTable("select top 12 * from supply as a ,combaseinfo as b where a.uid=b.uid and  a.Ischecked=1  and a.Smallclass='" + Convert.ToInt32(table.Rows[0]["Smallclass"]) + "' and a.sid in(select  max(sid) from supply where  (ischecked = 1) AND (smallclass ='" + Convert.ToInt32(table.Rows[0]["Smallclass"]) + "') group by Uid) order by b.Comusertype desc,a.lastupdatetime desc");
行 101:
行 102:                if (isvip == 1)

源文件: e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs    行: 100

堆栈跟踪:


[SqlException (0x80131904): 雷火app官网-雷火app官网下载-雷火电竞亚洲]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2843
   System.Data.SqlClient.SqlDataReader.SetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo) +277
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +594
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +127
   System.Data.SqlClient.SqlDataReader.get_MetaData() +112
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6340548
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6341617
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +211
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +19
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +221
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +573
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +161
   dal.WebDA.WebGetDataTable(String strsql) in F:\zgbfw2012\dal\WebDA.cs:63
   offer_OfferDetail.bind() in e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs:100
   offer_OfferDetail.Page_Load(Object sender, EventArgs e) in e:\wwwroot\zgbfw\web\offer\OfferDetail.aspx.cs:53
   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.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.8806; ASP.NET 版本:2.0.50727.8762