Jump to content
Software FX Community

Variant of deployment problem


User (Legacy)

Recommended Posts

I have a problem deploying any project including ChartFX.lite for .NET. I've

red the list of other problems related to deployment of ChartFX.lite, I do

think this one is different.

I create a basic "start-up" project in Visual Studio.

Adds one instance of the ChartFX.Lite object from the toolbar

Changes the configuration of the project from Debug to Release and then

Build the solution.

Distributes the project binary and chartfx.lite.dll from the bin\release

folder to two other computers.

On both application test computers (one win2k, one winXP) the application

terminates with a general error that states:

"Application has generated an exeption that could not be handled" Then lists

the process id and thread id.

-- The code used is repeated below:

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

namespace demo

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

this.chart1 = new SoftwareFX.ChartFX.Lite.Chart();

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(8, 8);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(272, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(292, 273);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

Application.Run(new Form1());

}

}

}

Any help would be greatly appreciated.

Kjetil Barnung

CMA asset management ASA

Link to comment
Share on other sites

I have a problem deploying any project including ChartFX.lite for .NET. I've

red the list of other problems related to deployment of ChartFX.lite, I do

think this one is different.

I create a basic "start-up" project in Visual Studio.

Adds one instance of the ChartFX.Lite object from the toolbar

Changes the configuration of the project from Debug to Release and then

Build the solution.

Distributes the project binary and chartfx.lite.dll from the bin\release

folder to two other computers.

On both application test computers (one win2k, one winXP) the application

terminates with a general error that states:

"Application has generated an exeption that could not be handled" Then lists

the process id and thread id.

-- The code used is repeated below:

using System;

using System.Drawing;

using System.Collections;

using System.ComponentModel;

using System.Windows.Forms;

using System.Data;

namespace demo

{

/// <summary>

/// Summary description for Form1.

/// </summary>

public class Form1 : System.Windows.Forms.Form

{

private SoftwareFX.ChartFX.Lite.Chart chart1;

/// <summary>

/// Required designer variable.

/// </summary>

private System.ComponentModel.Container components = null;

public Form1()

{

//

// Required for Windows Form Designer support

//

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}

/// <summary>

/// Clean up any resources being used.

/// </summary>

protected override void Dispose( bool disposing )

{

if( disposing )

{

if (components != null)

{

components.Dispose();

}

}

base.Dispose( disposing );

}

#region Windows Form Designer generated code

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

private void InitializeComponent()

{

this.chart1 = new SoftwareFX.ChartFX.Lite.Chart();

this.SuspendLayout();

//

// chart1

//

this.chart1.Location = new System.Drawing.Point(8, 8);

this.chart1.Name = "chart1";

this.chart1.Size = new System.Drawing.Size(272, 248);

this.chart1.TabIndex = 0;

//

// Form1

//

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

this.ClientSize = new System.Drawing.Size(292, 273);

this.Controls.AddRange(new System.Windows.Forms.Control[] {

this.chart1});

this.Name = "Form1";

this.Text = "Form1";

this.ResumeLayout(false);

}

#endregion

/// <summary>

/// The main entry point for the application.

/// </summary>

[sTAThread]

static void Main()

{

Application.Run(new Form1());

}

}

}

Any help would be greatly appreciated.

Kjetil Barnung

CMA asset management ASA

Link to comment
Share on other sites

We have found a problem in both lite and full versions related to licensing

(this problem was introduced in built 1004). A new build (1033) will be

uploaded today that should fix this issue.

--

Regards,

JC

Software FX Support

"Kjetil Barnung" <kjetil.barnung@cma.no> wrote in message

news:bKd0ImtfCHA.3564@webserver1.softwarefx.com...

> I have a problem deploying any project including ChartFX.lite for .NET.

I've

> red the list of other problems related to deployment of ChartFX.lite, I do

> think this one is different.

>

> I create a basic "start-up" project in Visual Studio.

> Adds one instance of the ChartFX.Lite object from the toolbar

> Changes the configuration of the project from Debug to Release and then

> Build the solution.

> Distributes the project binary and chartfx.lite.dll from the bin\release

> folder to two other computers.

>

> On both application test computers (one win2k, one winXP) the application

> terminates with a general error that states:

> "Application has generated an exeption that could not be handled" Then

lists

> the process id and thread id.

>

>

> -- The code used is repeated below:

>

> using System;

> using System.Drawing;

> using System.Collections;

> using System.ComponentModel;

> using System.Windows.Forms;

> using System.Data;

> namespace demo

> {

> /// <summary>

> /// Summary description for Form1.

> /// </summary>

> public class Form1 : System.Windows.Forms.Form

> {

> private SoftwareFX.ChartFX.Lite.Chart chart1;

> /// <summary>

> /// Required designer variable.

> /// </summary>

> private System.ComponentModel.Container components = null;

> public Form1()

> {

> //

> // Required for Windows Form Designer support

> //

> InitializeComponent();

> //

> // TODO: Add any constructor code after InitializeComponent call

> //

> }

> /// <summary>

> /// Clean up any resources being used.

> /// </summary>

> protected override void Dispose( bool disposing )

> {

> if( disposing )

> {

> if (components != null)

> {

> components.Dispose();

> }

> }

> base.Dispose( disposing );

> }

> #region Windows Form Designer generated code

> /// <summary>

> /// Required method for Designer support - do not modify

> /// the contents of this method with the code editor.

> /// </summary>

> private void InitializeComponent()

> {

> this.chart1 = new SoftwareFX.ChartFX.Lite.Chart();

> this.SuspendLayout();

> //

> // chart1

> //

> this.chart1.Location = new System.Drawing.Point(8, 8);

> this.chart1.Name = "chart1";

> this.chart1.Size = new System.Drawing.Size(272, 248);

> this.chart1.TabIndex = 0;

> //

> // Form1

> //

> this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> this.ClientSize = new System.Drawing.Size(292, 273);

> this.Controls.AddRange(new System.Windows.Forms.Control[] {

> this.chart1});

> this.Name = "Form1";

> this.Text = "Form1";

> this.ResumeLayout(false);

> }

> #endregion

> /// <summary>

> /// The main entry point for the application.

> /// </summary>

> [sTAThread]

> static void Main()

> {

> Application.Run(new Form1());

> }

> }

> }

>

> Any help would be greatly appreciated.

> Kjetil Barnung

> CMA asset management ASA

>

>

Link to comment
Share on other sites

We have found a problem in both lite and full versions related to licensing

(this problem was introduced in built 1004). A new build (1033) will be

uploaded today that should fix this issue.

--

Regards,

JC

Software FX Support

"Kjetil Barnung" <kjetil.barnung@cma.no> wrote in message

news:bKd0ImtfCHA.3564@webserver1.softwarefx.com...

> I have a problem deploying any project including ChartFX.lite for .NET.

I've

> red the list of other problems related to deployment of ChartFX.lite, I do

> think this one is different.

>

> I create a basic "start-up" project in Visual Studio.

> Adds one instance of the ChartFX.Lite object from the toolbar

> Changes the configuration of the project from Debug to Release and then

> Build the solution.

> Distributes the project binary and chartfx.lite.dll from the bin\release

> folder to two other computers.

>

> On both application test computers (one win2k, one winXP) the application

> terminates with a general error that states:

> "Application has generated an exeption that could not be handled" Then

lists

> the process id and thread id.

>

>

> -- The code used is repeated below:

>

> using System;

> using System.Drawing;

> using System.Collections;

> using System.ComponentModel;

> using System.Windows.Forms;

> using System.Data;

> namespace demo

> {

> /// <summary>

> /// Summary description for Form1.

> /// </summary>

> public class Form1 : System.Windows.Forms.Form

> {

> private SoftwareFX.ChartFX.Lite.Chart chart1;

> /// <summary>

> /// Required designer variable.

> /// </summary>

> private System.ComponentModel.Container components = null;

> public Form1()

> {

> //

> // Required for Windows Form Designer support

> //

> InitializeComponent();

> //

> // TODO: Add any constructor code after InitializeComponent call

> //

> }

> /// <summary>

> /// Clean up any resources being used.

> /// </summary>

> protected override void Dispose( bool disposing )

> {

> if( disposing )

> {

> if (components != null)

> {

> components.Dispose();

> }

> }

> base.Dispose( disposing );

> }

> #region Windows Form Designer generated code

> /// <summary>

> /// Required method for Designer support - do not modify

> /// the contents of this method with the code editor.

> /// </summary>

> private void InitializeComponent()

> {

> this.chart1 = new SoftwareFX.ChartFX.Lite.Chart();

> this.SuspendLayout();

> //

> // chart1

> //

> this.chart1.Location = new System.Drawing.Point(8, 8);

> this.chart1.Name = "chart1";

> this.chart1.Size = new System.Drawing.Size(272, 248);

> this.chart1.TabIndex = 0;

> //

> // Form1

> //

> this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);

> this.ClientSize = new System.Drawing.Size(292, 273);

> this.Controls.AddRange(new System.Windows.Forms.Control[] {

> this.chart1});

> this.Name = "Form1";

> this.Text = "Form1";

> this.ResumeLayout(false);

> }

> #endregion

> /// <summary>

> /// The main entry point for the application.

> /// </summary>

> [sTAThread]

> static void Main()

> {

> Application.Run(new Form1());

> }

> }

> }

>

> Any help would be greatly appreciated.

> Kjetil Barnung

> CMA asset management ASA

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...