Jump to content
Software FX Community

chartfx crashes in deployed app


User (Legacy)

Recommended Posts

Hello,

We are using ChartFX in a .NET 2.0 WinForms app. We are using an XCOPY

approach to deploy the necessary files. The ChartFX assemblies that we are

placing on the machine include:

ChartFX.Winforms.Adornments.dll

ChartFX.WinForms.Base.dll

ChartFX.WinForms.dll

We are using the latest released version of ChartFX also. When we run the

application, the graphing portion (that uses ChartFX) crashes with

exceptions when it is being loaded. We checked the licenses.licx file for

the application and the ChartFX license information is correctly listed. If

we install ChartFX via its setup program ( a full install ), our application

runs fine. No crashes.

1) Are there other support assemblies that we need to install?

2) Is there some additional set of steps we need to do to ensure the

components are recognized as licensed?

Note: We are using Microsoft's Composite UI App Block toolkit which uses

Reflection to create Views (forms) which contain controls. We're not sure

if its of Reflection to create the host form of the ChartFX control causes

an issue in an XCOPY situation. However, other 3rd party controls we are

using on these forms are created just fine using an XCOPY style deployment.

Any ideas?

Thanks

Mark

Link to comment
Share on other sites

We need more information in order to determine what the problem is:

- What is the specific exception that you are getting?

- If it is a licensing exception (which looks like the most likely scenario

since everything works when you install the product). Is this a full version

of Chart FX or is it a Trial Version or a Developer Studio version. Anything

especial about your licensing ?

- You mentioned that you checked that the .licx file contains Chart FX´s

info. Is this .licx included in the project executable (EXE). It is

important that the license ends up in the resource for the EXE application

not in any of the satellites assemblies. You can use ILDASM.EXE to view the

resource of your EXE (in the manifest). You should see a resource named:

<Name Of Your Exe>.exe.licenses.

- Does the name of your EXE contains any blank spaces? This causes a problem

for .NET licensing mechanisms.

As far as the reflection situation, this should make no difference.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

  • 3 weeks later...

The problem was that we did not have ChartFX in our EXE.  We only use it 

from a .NET assembly dll. Adding it to the EXE resolved the licensing

problem.

Thanks

Mark

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:IRW3IW3pGHA.1620@webserver3.softwarefx.com...

> We need more information in order to determine what the problem is:

>

> - What is the specific exception that you are getting?

> - If it is a licensing exception (which looks like the most likely

> scenario since everything works when you install the product). Is this a

> full version of Chart FX or is it a Trial Version or a Developer Studio

> version. Anything especial about your licensing ?

> - You mentioned that you checked that the .licx file contains Chart FX´s

> info. Is this .licx included in the project executable (EXE). It is

> important that the license ends up in the resource for the EXE application

> not in any of the satellites assemblies. You can use ILDASM.EXE to view

> the resource of your EXE (in the manifest). You should see a resource

> named: <Name Of Your Exe>.exe.licenses.

> - Does the name of your EXE contains any blank spaces? This causes a

> problem for .NET licensing mechanisms.

>

> As far as the reflection situation, this should make no difference.

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...