xy0074075 - 2008-7-14 14:18:00
□□□发布栏目
【ID】:698111109738
【错误描述:】
System.Data.SqlClient.SqlException: 在关键字 'And' 附近有语法错误。
在 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:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.DALProfile\DbHelper.cs:行号 194
在 NetCMS.DALProfile.DbHelper.ExecuteTable(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.DALProfile\DbHelper.cs:行号 180
在 NetCMS.DALSQLServer.Publish.ExecuteSql(String sql) 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.DALSQLServer\Publish.cs:行号 228
在 NetCMS.Publish.LabelMass.Analyse_TopNews() 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\Label\LabelMass_Method3.cs:行号 528
在 NetCMS.Publish.LabelMass.Parse() 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\Label\LabelMass.cs:行号 235
在 NetCMS.Publish.CustomLabel.ParseLabelConetent() 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\Label\CustomLabel.cs:行号 73
在 NetCMS.Publish.CustomLabel.MakeHtmlCode() 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\Label\CustomLabel.cs:行号 86
在 NetCMS.Publish.Template.ReplaceLabels() 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\Template.cs:行号 176
在 NetCMS.Publish.UltiPublish.replaceTemp(Template tempRe, Boolean existFlag, String savePath, String id, String ContentType) 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\UltiPublish.cs:行号 618
在 NetCMS.Publish.UltiPublish.publishSingleClass(String classID, String datalib) 位置 E:\job\tool\maoyi\NetCMS V1.5_Src\NetCMS.Publish\UltiPublish.cs:行号 544
snow - 2008-7-17 10:50:00
同样的问题已经回答过了