1/1页1 跳转到查看:321
发新话题 回复该主题

[0509][前台]内容列表常出现这样的错误

[0509][前台]内容列表常出现这样的错误

System.Data.SqlClient.SqlException: '568690408483' 附近有语法错误。 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 在 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) 在 System.Data.SqlClient.SqlDataReader.ConsumeMetaData() 在 System.Data.SqlClient.SqlDataReader.get_MetaData() 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) 在 NetCMS.DALProfile.DbHelper.ExecuteTable(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 E:\simplt\NETCMS\NetCMS.DALProfile\DbHelper.cs:行号 194 在 NetCMS.DALProfile.DbHelper.ExecuteTable(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 E:\simplt\NETCMS\NetCMS.DALProfile\DbHelper.cs:行号 180 在 NetCMS.DALSQLServer.Publish.ExecuteSql(String sql) 位置 E:\simplt\NETCMS\NetCMS.DALSQLServer\Publish.cs:行号 228 在 NetCMS.Publish.LabelMass.Analyse_TopNews() 位置 E:\simplt\NETCMS\NetCMS.Publish\Label\LabelMass_Method3.cs:行号 528 在 NetCMS.Publish.LabelMass.Parse() 位置 E:\simplt\NETCMS\NetCMS.Publish\Label\LabelMass.cs:行号 235 在 NetCMS.Publish.CustomLabel.ParseLabelConetent() 位置 E:\simplt\NETCMS\NetCMS.Publish\Label\CustomLabel.cs:行号 73 在 NetCMS.Publish.CustomLabel.MakeHtmlCode() 位置 E:\simplt\NETCMS\NetCMS.Publish\Label\CustomLabel.cs:行号 86 在 NetCMS.Publish.Template.ReplaceLabels() 位置 E:\simplt\NETCMS\NetCMS.Publish\Template.cs:行号 176 在 NetCMS.Web.list.replaceTemplate(Template tempRe, String ClassID, Int32 strPage, String sTmpPath, Int32 isPop) 位置 E:\simplt\NETCMS\NetCMS.Web\list.aspx.cs:行号 278 在 NetCMS.Web.list.getContentRuslt(Int32 ChID, String ClassTemplet, String ClassID, Int32 strPage, String TmpPath, Int32 isPop) 位置 E:\simplt\NETCMS\NetCMS.Web\list.aspx.cs:行号 262 在 NetCMS.Web.list.Page_Load(Object sender, EventArgs e) 位置 E:\simplt\NETCMS\NetCMS.Web\list.aspx.cs:行号 90 在 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.Web.UI.Control.OnLoad(EventArgs e) 在 System.Web.UI.Control.LoadRecursive() 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

TOP

 

回复:[0509][前台]内容列表常出现这样的错误

楼主是用的什么标签插入到内容页面的。我这里使用列表标签插入内容页没问题

TOP

 
1/1页1 跳转到
发表新主题 回复该主题