风讯官方论坛

首页 » FoosunCMS交流区 » dotNETCMS安装使用 » 新闻的点击率和分页有错误?
sxzssxzs - 2008-7-8 08:15:00
新闻点击率修改后如果数值超过100就会出现一下内容 分页也好像出问题了 该分页不分页 而是出现 {$FS:P0}{Page:1$$pagecss}







抱歉!操作失败


操作描述:
  • System.OverflowException: 值对于带符号的字节太大或太小。 在 System.Convert.ToSByte(Int16 value) 在 System.Int16.System.IConvertible.ToSByte(IFormatProvider provider) 在 System.Convert.ToSByte(Object value, IFormatProvider provider) 在 System.Data.OleDb.ColumnBinding.Value(Object value) 在 System.Data.OleDb.Bindings.ApplyInputParameters() 在 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) 在 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) 在 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) 在 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() 在 Foosun.DALProfile.DbHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 46 在 Foosun.DALProfile.DbHelper.ExecuteNonQuery(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 25 在 Foosun.AccessDAL.ContentManage.UpdateNewsContent(NewsContent uc) 位置 D:\dotNETCMS测试\send3333\Foosun.AccessDAL\ContentManage.cs:行号 301 在 Foosun.CMS.ContentManage.UpdateNewsContent(NewsContent uc) 位置 D:\dotNETCMS测试\send3333\Foosun.CMS\ContentManage.cs:行号 247 在 manage_news_News_add.Buttonsave_Click(Object sender, EventArgs e) 位置 D:\dotNETCMS测试\send3333\Foosun.Web\manage\news\News_add.aspx.cs:行号 1463 在 System.Web.UI.WebControls.Button.OnClick(EventArgs e) 在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  • 返回上一级
  • dotNETCMS v1.0sp1(r)  Help center  Forum
womode - 2008-7-8 08:43:00
会出现一下内容 分页也好像出问题了  对你这两个疑问不是很清楚。能说明白点吗,特别是你说的“  会出现一下内容 ”
ttao - 2008-7-8 09:16:00
关于新闻的点击,经过验证,我将点击初始设置为105都没有出现报错情况,请问楼主,你是用的AC版本还是SQL版本呢?
sxzssxzs - 2008-7-8 09:37:00
抱歉!操作失败



操作描述:
System.OverflowException: 值对于带符号的字节太大或太小。 在 System.Convert.ToSByte(Int16 value) 在 System.Int16.System.IConvertible.ToSByte(IFormatProvider provider) 在 System.Convert.ToSByte(Object value, IFormatProvider provider) 在 System.Data.OleDb.ColumnBinding.Value(Object value) 在 System.Data.OleDb.Bindings.ApplyInputParameters() 在 System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) 在 System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) 在 System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) 在 System.Data.OleDb.OleDbCommand.ExecuteNonQuery() 在 Foosun.DALProfile.DbHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 46 在 Foosun.DALProfile.DbHelper.ExecuteNonQuery(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 25 在 Foosun.AccessDAL.ContentManage.UpdateNewsContent(NewsContent uc) 位置 D:\dotNETCMS测试\send3333\Foosun.AccessDAL\ContentManage.cs:行号 301 在 Foosun.CMS.ContentManage.UpdateNewsContent(NewsContent uc) 位置 D:\dotNETCMS测试\send3333\Foosun.CMS\ContentManage.cs:行号 247 在 manage_news_News_add.Buttonsave_Click(Object sender, EventArgs e) 位置 D:\dotNETCMS测试\send3333\Foosun.Web\manage\news\News_add.aspx.cs:行号 1463 在 System.Web.UI.WebControls.Button.OnClick(EventArgs e) 在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
返回上一级
dotNETCMS v1.0sp1(r)  Help center  Forum

上面的是点击率设置大了会出现的问题
sxzssxzs - 2008-7-8 09:38:00
{$FS:P0}{Page:1$$pagecss}  这里应该出现分页的选项 可是并没有 所有新闻都出现在一页
我用的acc数据库
womode - 2008-7-8 10:11:00
我也用了免费的ac数据库来的,是没有问题的。
 附件: 您所在的用户组无法下载或查看附件
  是我自己设置的点击。
1
查看完整版本: 新闻的点击率和分页有错误?