Jump to content
Software FX Community

Problem deploying ChartFX


User (Legacy)

Recommended Posts

I'm developing a WinForm application using the version 6.0.839.0 of 

ChartFX and version 3.0.0.1918 of ActiveReports.

I'm deploying an application that uses ChartFX embedded in various

ActiveReports.

On our development boxes it works fine. When we put them out into

production and the Active Reports are ran they fail when the Report

tries to initialize the CustomControls.

We get the following error:

Specified argument was out of range:

Parameter Name: Index was out of range. Must be non-negative and less

than the size of the collection.

It's like the CustomControls that mark the Charts are not even there.

We deploy the necessary ChartFX dlls along with the ActiveReport dlls,

which all reside in the same directory as the executable.

What is the problem? Any ideas?

Thanks,

Tim Shults

Link to comment
Share on other sites

There are some licensing issues to consider here. When the chart is used

inside a report or a DLL but it is not directly used by your application

(EXE), the license information doesn't get saved and therefore the control

will not run unless there is a license present.

Check out the following articles in our support site:

Q6101001. How to deploy a WinForms Application when it contains a wrapper

object using Chart FX for .NET

Q6101008. Using Chart FX for .NET Windows Forms control from a DLL

Q6101010. How to manually add a Chart FX license to an executable

FP

Software FX Support

"Tim Shults" <jonas37377@yahoo.com> wrote in message

news:WizbnT32DHA.3808@WEBSERVER1...

> I'm developing a WinForm application using the version 6.0.839.0 of

> ChartFX and version 3.0.0.1918 of ActiveReports.

>

> I'm deploying an application that uses ChartFX embedded in various

> ActiveReports.

>

> On our development boxes it works fine. When we put them out into

> production and the Active Reports are ran they fail when the Report

> tries to initialize the CustomControls.

>

> We get the following error:

>

> Specified argument was out of range:

> Parameter Name: Index was out of range. Must be non-negative and less

> than the size of the collection.

>

> It's like the CustomControls that mark the Charts are not even there.

>

> We deploy the necessary ChartFX dlls along with the ActiveReport dlls,

> which all reside in the same directory as the executable.

>

> What is the problem? Any ideas?

>

> Thanks,

> Tim Shults

Link to comment
Share on other sites

Thank you, Q6101001 worked beautifully.

Software FX Support wrote:

> There are some licensing issues to consider here. When the chart is used

> inside a report or a DLL but it is not directly used by your application

> (EXE), the license information doesn't get saved and therefore the control

> will not run unless there is a license present.

>

> Check out the following articles in our support site:

>

> Q6101001. How to deploy a WinForms Application when it contains a wrapper

> object using Chart FX for .NET

>

>

> Q6101008. Using Chart FX for .NET Windows Forms control from a DLL

>

> Q6101010. How to manually add a Chart FX license to an executable

> FP

> Software FX Support

>

> "Tim Shults" <jonas37377@yahoo.com> wrote in message

> news:WizbnT32DHA.3808@WEBSERVER1...

>

>>I'm developing a WinForm application using the version 6.0.839.0 of

>>ChartFX and version 3.0.0.1918 of ActiveReports.

>>

>>I'm deploying an application that uses ChartFX embedded in various

>>ActiveReports.

>>

>>On our development boxes it works fine. When we put them out into

>>production and the Active Reports are ran they fail when the Report

>>tries to initialize the CustomControls.

>>

>>We get the following error:

>>

>>Specified argument was out of range:

>>Parameter Name: Index was out of range. Must be non-negative and less

>>than the size of the collection.

>>

>>It's like the CustomControls that mark the Charts are not even there.

>>

>>We deploy the necessary ChartFX dlls along with the ActiveReport dlls,

>>which all reside in the same directory as the executable.

>>

>>What is the problem? Any ideas?

>>

>>Thanks,

>>Tim Shults

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...