Jump to content
Software FX Community

chart fx control has an error that parameter length less than zero


marco huang

Recommended Posts

Hi,

Till now, I have used Trial version (Chart FX 7) for my development. Chart's are working fine in Trial version.

But when I try to uninstall(Trial version) and install (licensed version) the Chart FX 7 for Web forms(ChartFX7WebForms.exe),I get an error like follows

Exception Details: System.ArgumentOutOfRangeException: Length cannot be less than zero.Parameter name: length

Source Error:

Line 51:   <chartfx7:Chart ID="Chart1" runat="server" Height="327px">Line 52:   <Series>Line 53:   <chartfx7:SeriesAttributes />

ps: I can't find a license.lic file in my web application When I complie my website.

Appreciate any one help in this regard. Thanks in Advance,

 

 

Link to comment
Share on other sites

  • 7 months later...

Hello,

I'm having the same problem,

I used Trial version (Chart Fx 7) for my development and everything was working just fine, I uninstalled this and installed the newest trial version and then I got the same error:

System.ArgumentOutOfRangeException: Length cannot be less than zero.

Line 66:

Line 67:

Line 68:

Line 69: Width="800px" Height="400px">

Line 70:

Error 13 Exception occurred creating type 'ChartFX.WebForms.Chart, ChartFX.WebForms, Version=7.0.4259.29043, Culture=neutral, PublicKeyToken=a1878e2052c08dce' System.ArgumentOutOfRangeException: Length cannot be less than zero. C:\Inetpub\wwwroot\Project_name\Properties\licenses.licx 1 ProjectName

Any help would be great.

Thanks!

Link to comment
Share on other sites

  • 7 months later...

Hello I have the same Problem , I used Trial version for my development. When i unistalled and installed ChartFX7 i am getting this error

Could not transform licenses file into a binary resource.  (1) : error LC0004 : Exception occurred creating type 'ChartFX.WebForms.Chart, ChartFX.WebForms, Version=7.0.4259.29043, Culture=neutral, PublicKeyToken=a1878e2052c08dce System.ArgumentOutOfRangeException: Length cannot be less than zero.

Parameter name: length

at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext, Object[] args)

at System.ComponentModel.LicenseManager.CreateWithContext(Type type, LicenseContext creationContext)

at System.Tools.LicenseCompiler.GenerateLicenses(String fileContents, String targetPE, ITypeResolutionService resolver, DesigntimeLicenseContext ctx)' C:\Users\0080\Documents\Visual Studio 2008\Websites\ChartFxSamples\licenses.licx C:\...\ChartFxSamples\

 Please help me regarding this issue, its very very urgent

 Note: I have Both ChartFX6.2 and ChartFX7 Installed on mu PC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...