Format Exception

Found a possible bug in LightningChart? Report it here.

Moderator: Queue Moderators

Post Reply
Kountree
Posts: 21
Joined: Mon Jan 26, 2015 10:36 pm

Format Exception

Post by Kountree » Mon Jan 26, 2015 10:42 pm

Hi,

I am using VS 2012 compiling with .Net 4.5 Framework

Whilst debugging, I noticed that there was a format exception being thrown on the following line in the designer.cs file:

this.MyTrendingChart = new Arction.LightningChartUltimate.LightningChartUltimate();

System.FormatException occurred
HResult=-2146233033
Message=Input string was not in a correct format.
Source=mscorlib
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
InnerException:

Any advice on this exception would be helpful.

Thanks

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Format Exception

Post by ArctionPasi » Mon Jan 26, 2015 11:31 pm

Hi,

what version are you using?

Are you just placing the chart in WinForms designer on the form, or do you set other properties?
LightningChart Support Team, PT

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Format Exception

Post by ArctionPasi » Tue Jan 27, 2015 11:20 am

I tested with VS2012 and VS2013, using the latest installer v.6.3.1, and using the latest assembly pack v. 6.3.2. I targeted WinForms project for .NET4.5 and 4.5.3, placed the chart on the form and rebuilt. No errors, no exception is not caught on that row or anywhere else.

I used US regional settings, and Finnish. Worked with both.

First, please install the latest service pack for VS2012. Kindly share all info you can :|
LightningChart Support Team, PT

Kountree
Posts: 21
Joined: Mon Jan 26, 2015 10:36 pm

Re: Format Exception

Post by Kountree » Tue Jan 27, 2015 1:46 pm

I am using Visual Studio 2012 Update 4 along with my purchased version or Arction, 2014.2.21.4001. If it is fixed, then I will get the latest version

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Format Exception

Post by ArctionPasi » Tue Jan 27, 2015 2:17 pm

We released 6.3.3 assembly pack today. Please update to it.
LightningChart Support Team, PT

Post Reply