|
主题:[IEXAM]KESION.NETV3.0测试版BUG和建议收集专帖 [收藏主题] | 转到: |
会员中心-充值卡Server Error in '/' Application.
-------------------------------------------------------------------------------- 列名 'ItemId' 无效。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 列名 'ItemId' 无效。 Source Error: Line 48: <itemstyle horizontalalign="Center" /> Line 49: <itemtemplate> Line 50: ( <a style="color:blue" href="KS.CsEpCard.aspx?id=<%# Eval("id")%>"><%# GetTotal(Utils.StrToInt(Eval("id")))%></a> )张 <a style="color:blue" href="KS.CsEpCard.aspx?id=<%# Eval("id")%>">查看/添加</a> Line 51: <a href="KS.CsEpCard.aspx?Id=<%#Eval("id") %>&action=Excel"><span class="special"></span>导出Excel</a> Line 52: </itemtemplate> Source File: d:\web\1\Admin\User\KS.CsEpCardItem.aspx Line: 50 Stack Trace: [SqlException (0x80131904): 列名 'ItemId' 无效。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2073294 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5063436 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33 System.Data.SqlClient.SqlDataReader.get_MetaData() +86 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +311 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +987 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32 System.Data.SqlClient.SqlCommand.ExecuteScalar() +139 Kesion.DataBase.DBHelper.ExecuteScalar(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +70 Kesion.DataBase.DBHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +89 Kesion.DataBase.DBHelper.ExecuteScalar(String connectionString, CommandType commandType, String commandText) +13 Kesion.DataBase.DBHelper.ExecuteScalarToStr(CommandType commandType, String commandText) +24 Kesion.SqlDAL.DataFactory.GetOnlyValue(String sqlstr) +13 Kesion.BLL.DataFactory.GetOnlyValue(String sqlstr) +16 Kesion.NET.WebSite.Admin_CsEpCardItem.GetTotal(Int32 id) +47 ASP.admin_user_ks_csepcarditem_aspx.__DataBind__control13(Object sender, EventArgs e) in d:\web\1\Admin\User\KS.CsEpCardItem.aspx:50 System.Web.UI.Control.OnDataBinding(EventArgs e) +91 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +92 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +201 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101 System.Web.UI.Control.DataBind() +15 System.Web.UI.Control.DataBindChildren() +201 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101 System.Web.UI.Control.DataBind() +15 System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource) +166 System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +3896 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +66 System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data) +14 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +128 System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33 System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74 System.Web.UI.WebControls.GridView.DataBind() +4 Kesion.NET.WebSite.Admin_CsEpCardItem.Binder(Int32 PageIndex) +313 Kesion.NET.WebSite.Admin_CsEpCardItem.Page_Load(Object sender, EventArgs e) +163 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022 |
|
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
一键生成广告位的提示
Server Error in '/' Application. -------------------------------------------------------------------------------- 在将 varchar 值 ',' 转换成数据类型 int 时失败。 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 在将 varchar 值 ',' 转换成数据类型 int 时失败。 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [SqlException (0x80131904): 在将 varchar 值 ',' 转换成数据类型 int 时失败。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +2073294 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +5063436 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning() +234 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2275 System.Data.SqlClient.SqlDataReader.HasMoreRows() +211 System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) +217 System.Data.SqlClient.SqlDataReader.Read() +9 System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping) +72 System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +164 System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords) +424 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +204 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +319 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94 Kesion.DataBase.DBHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +133 Kesion.DataBase.DBHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, DbParameter[] commandParameters) +90 Kesion.DataBase.DBHelper.ExecuteDataset(CommandType commandType, String commandText) +27 Kesion.SqlDAL.DataFactory.GetDataTable(String sqlstr) +14 Kesion.BLL.DataFactory.GetDataTable(String sqlstr) +16 Kesion.HtmlTags.ReplaceAds.CreateAdsBoardJS(String boardids) +234 Kesion.NET.WebSite.Admin_AdCreateJS.Page_Load(Object sender, EventArgs e) +164 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022 |
|
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |