|
|
2008-05-09 18:07
| 只看楼主
树型|
收藏|
小
中
大
1#
[0509][后台]升级后问题依旧存在,栏目管理,栏目无法生成静态页面
在"栏目管理"中,把栏目生成"静态页面",总是提示错误.而在"发布管理"中生成,却没有错误 错误信息为: 发布栏目成功,成功0个,失败29个(可能有栏目有浏览权限). 返回 已完成100%点击失败查找原因:□□□发布栏目 【ID】:534011789682 【错误描述:】 System.Data.SqlClient.SqlException: 被准备语句 '(@NewsID nvarchar(4000))Select [Id],[NewsID],[NewsType],[OrderID' 需要参数 @NewsID,但未提供该参数。 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior) at NetCMS.DALProfile.DbHelper.ExecuteReader(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) in D:\simplt\NetCMS\NetCMS.DALProfile\DbHelper.cs:line 81 at NetCMS.DALProfile.DbHelper.ExecuteReader(CommandType cmdType, String cmdText, DbParameter[] commandParameters) in D:\simplt\NetCMS\NetCMS.DALProfile\DbHelper.cs:line 61 at NetCMS.DALSQLServer.Publish.GetNewsDetail(Int32 id, String newsid) in D:\simplt\NetCMS\NetCMS.DALSQLServer\Publish.cs:line 734 at NetCMS.Publish.LabelMass.getNewsInfo(Int32 ID, String NewsID) in D:\simplt\NetCMS\NetCMS.Publish\Label\LabelMass_Method4.cs:line 2614 at NetCMS.Publish.LabelMass.Analyse_ReadNews(Int32 id, Int32 TitleNumer, Int32 ContentNumber, Int32 NaviNumber, String str_Style, String styleid, Int32 currentPageNum, Int32 EndPageNum, Int32 NewsTF, String navistr) in D:\simplt\NetCMS\NetCMS.Publish\Label\LabelMass_Method4.cs:line 1212 at NetCMS.Publish.LabelMass.Analyse_ReadNews(Int32 id, Int32 TitleNumer, Int32 ContentNumber, Int32 NaviNumber, String str_Style, String styleid, Int32 currentPageNum, Int32 EndPageNum, Int32 NewsTF) in D:\simplt\NetCMS\NetCMS.Publish\Label\LabelMass_Method4.cs:line 1205 at NetCMS.Publish.LabelMass.Parse() in D:\simplt\NetCMS\NetCMS.Publish\Label\LabelMass.cs:line 252 at NetCMS.Publish.CustomLabel.ParseLabelConetent() in D:\simplt\NetCMS\NetCMS.Publish\Label\CustomLabel.cs:line 73 at NetCMS.Publish.CustomLabel.MakeHtmlCode() in D:\simplt\NetCMS\NetCMS.Publish\Label\CustomLabel.cs:line 86 at NetCMS.Publish.Template.ReplaceLabels() in D:\simplt\NetCMS\NetCMS.Publish\Template.cs:line 176 at NetCMS.Publish.UltiPublish.replaceTemp(Template tempRe, Boolean existFlag, String savePath, String id, String ContentType) in D:\simplt\NetCMS\NetCMS.Publish\UltiPublish.cs:line 618 at NetCMS.Publish.UltiPublish.publishSingleClass(String classID, String datalib) in D:\simplt\NetCMS\NetCMS.Publish\UltiPublish.cs:line 552
 zj_chengwa 最后编辑于 2008-05-19 09:52:23
|