4
Vote

Input string was not in a correct format.

description

whenever I try to create a forum in a new group I get an exception error Input string was not in a correct format.
this has been an issue since long ago and still persists in new upgrade need help please

comments

monstrU wrote Jun 29, 2012 at 3:05 PM

a have this problem also on dnn 6.02

monstrU wrote Jul 5, 2012 at 2:57 PM

see the event please
AssemblyVersion: 6.1.3

PortalID: 0

PortalName: АС МЧС-Связь МЧС России.

UserID: 1

UserName: adminmchs2

ActiveTabID: 82

ActiveTabName: Форум

RawURL: /Форум/tabid/82/ctl/ForumEdit/mid/423/groupid/3/language/ru-RU/Default.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://localhost:90/%D0%A4%D0%BE%D1%80%D1%83%D0%BC/tabid/82/ctl/ForumEdit/mid/423/groupid/3/language/ru-RU/Default.aspx

UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E; InfoPath.3)

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 0031c051-f86d-40bc-8e13-cea09dd10e4d

InnerException: Input string was not in a correct format.

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Number.ParseSingle

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToSingle(String value) at DotNetNuke.Modules.Forum.ACP.ForumEdit.cmdAdd_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

monstrU wrote Jul 5, 2012 at 3:06 PM

i find cause - when i try create new forum in english locale - create finished successfully. when i try create in russian locale- i get exception 'input string'

RickardLovgren wrote Feb 14, 2013 at 5:24 PM

Problem persists in DNN 7.0.3.

Have created forum in English locale, switched to Swedish and get that exact error.