DVBBS ASP.NET论坛官方 注册  |   登录  |   搜索  |  帮助
DVBBS ASP.NET论坛官方  →  动网产品专区  →  IWMS网站管理系统  →  iwms4.6 sql2005版本,报错贴!
共有 547 人关注过本帖
上一主题 | 下一主题  

iwms4.6 sql2005版本,报错贴!

我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   楼主 个性首页 QQ 邮箱 主页 发短信 加为好友

iwms4.6 sql2005版本,报错贴!

已经升级成功,如果有错误会贴在这里,希望对木鸟有帮助!

1、后台登陆首页右侧:http://www1.51gt.com/news/admin_main.aspx 有报错;

2、编辑外部连接贴里有相同的报错,如下:

Server Error in '/' Application.

Specified cast is not valid.

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.InvalidCastException: Specified cast is not valid.

Source Error:

2、


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-14 22:44:04   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   沙发 个性首页 QQ 邮箱 主页 发短信 加为好友

有人知道是什么问题不,希望木鸟能帮助解决这个问题,因为我发的所有连接贴前台点击时也报一样的错误,


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-15 0:25:07   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   板凳 个性首页 QQ 邮箱 主页 发短信 加为好友

有人知道吗,这个问题怎么解决呀


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-15 1:03:59   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   木地板 个性首页 QQ 邮箱 主页 发短信 加为好友

我等不及了,直接连接到SQL2005数据库上看了一下,发现外部连接贴没有点击数,我分别将日周月点击数设为0,情况恢复!

请木鸟解释怎么办,以后不能发外部连接贴了吗


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-15 1:54:32   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   第 5 楼 个性首页 QQ 邮箱 主页 发短信 加为好友

后台编辑会员时出现:

Server Error in '/' Application.

Specified cast is not valid.

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.InvalidCastException: Specified cast is not valid.

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:

[InvalidCastException: Specified cast is not valid.]
   IWMS.DAL.Account.x8381294ec3066d5a(String x7fcaad8f411d6a84) +1396
   IWMS.DAL.Account.GetAccount(Int32 xeaf1b27180c0557b) +46
   IWMS.Admin.MemberAdd.BindEdit() +2365
   IWMS.Admin.MemberAdd.Page_Load(Object xe0292b9ed559da7d, EventArgs x09164e3c6108269f) +284
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-20 12:24:48   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   第 6 楼 个性首页 QQ 邮箱 主页 发短信 加为好友

这个贴子跟到现在怎么没有人回呀,现在这个问题是什么呀


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-20 12:27:55   举报   Top
我正在线哦! 木鸟 积分:48961 等级:超级版主 文章:18528 积分:48961 注册:2001年5月17日 威望:17 点   第 7 楼 个性首页 QQ 邮箱 主页 发短信 加为好友
先保证在sql200里运行正常

iwms官网 http://www.iwms.net/ iwms在线帮助 http://www.iwms.net/help/
2008-5-20 12:54:31   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   第 8 楼 个性首页 QQ 邮箱 主页 发短信 加为好友

我已经知道错误了,改一下默认值就行了


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-20 13:20:42   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   第 9 楼 个性首页 QQ 邮箱 主页 发短信 加为好友

sql里当然运行正常,然后才去还原的,

iwms-news表中的dayhist;weekhits;remarknum,的默认值都变成null了,改成0就行了;

iwms-member表中的addnum的情况也是一样.

现在问题虽然解决了,但是登陆首页后的第一个默认页面还是有错误,上面已经说过了;

还有就是这种设默认为0的字段还有很多吧,我怎么一一加呢?


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-20 13:45:18   举报   Top
我不在线哦! 51gt 积分:2068 等级:火箭侠 文章:503 积分:2068 注册:2002年6月28日 威望:9 点   第 10 楼 个性首页 QQ 邮箱 主页 发短信 加为好友

紧急求助,在进入后台点内容管理的时候出现:

Specified cast is not valid.

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.InvalidCastException: Specified cast is not valid.

Source Error:

Line 137:				<ItemTemplate>
Line 138:				<span id="tbn_<%#Container.ItemIndex+1%>" style="display:none" title="<%#DataBinder.Eval(Container.DataItem,"titleimg")%>"></span>
Line 139:				<%#TitleUrl((System.Data.DataRowView)Container.DataItem) %>
Line 140:				</ItemTemplate>
Line 141:			</asp:TemplateColumn>


这是一个需要沟通的世界,在这个网络你就是我寻找的朋友……闲时请点击 我要沟通网(http://www.51gt.com)这...
2008-5-28 0:01:01   举报   Top
1  10 | 10    1/1 页