HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsForumForumForum errorForum error
Previous
 
Next
New Post
6/30/2011 1:15 AM
 
At work in my language (ru-RU) - at forum creation the error takes off:

AssemblyVersion: 5.6.2
PortalID: 0
PortalName: My Website
UserID: 2
UserName: PortalAdmin
ActiveTabID: 41
ActiveTabName: Home
RawURL: /kmk/Home/tabid/41/ctl/ForumEdit/mid/387/groupid/2/language/ru-RU/Default.aspx
AbsoluteURL: /kmk/Default.aspx
AbsoluteURLReferrer: http://inetserver/kmk/Home/tabid/41/ctl/ForumEdit/mid/387/groupid/2/language/ru-RU/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e044a2ce-162d-49ac-822c-d6dfaf0d3e49
InnerException: Входная строка имела неверный формат. (The entrance line had an incorrect format)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Входная строка имела неверный формат. ---> System.FormatException: Входная строка имела неверный формат. в System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) в System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) в System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info) в System.Convert.ToSingle(String value) в DotNetNuke.Modules.Forum.ACP.ForumEdit.cmdAdd_Click(Object sender, EventArgs e) в System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) в System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) в System.Web.UI.WebControls.LinkButton.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) --- Конец трассировки внутреннего стека исключений ---
Source:
Имя сервера: INETSERVER

At the included language (en-US) - errors aren't present.

 
New Post
8/1/2011 7:11 AM
 
Stas43 wrote:
At work in my language (ru-RU) - at forum creation the error takes off:

AssemblyVersion: 5.6.2
PortalID: 0
PortalName: My Website
UserID: 2
UserName: PortalAdmin
ActiveTabID: 41
ActiveTabName: Home
RawURL: /kmk/Home/tabid/41/ctl/ForumEdit/mid/387/groupid/2/language/ru-RU/Default.aspx
AbsoluteURL: /kmk/Default.aspx
AbsoluteURLReferrer: http://inetserver/kmk/Home/tabid/41/ctl/ForumEdit/mid/387/groupid/2/language/ru-RU/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e044a2ce-162d-49ac-822c-d6dfaf0d3e49
InnerException: Входная строка имела неверный формат. (The entrance line had an incorrect format)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Number.StringToNumber
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Входная строка имела неверный формат. ---> System.FormatException: Входная строка имела неверный формат. в System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) в System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt) в System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info) в System.Convert.ToSingle(String value) в DotNetNuke.Modules.Forum.ACP.ForumEdit.cmdAdd_Click(Object sender, EventArgs e) в System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) в System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) в System.Web.UI.WebControls.LinkButton.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) --- Конец трассировки внутреннего стека исключений ---
Source:
Имя сервера: INETSERVER

At the included language (en-US) - errors aren't present.

System.Globalization.NumberStyles style;
System.Globalization.CultureInfo provider;
style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowThousands;
provider = new System.Globalization.CultureInfo("ru-RU");

use this code to setup local and region before calling function, that work with date!

because format of date diference between language!!!

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsForumForumForum errorForum error


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.