Jump to content
Software FX Community

"An exception 'System.ComponentMode.LicenseException' has occurred


User (Legacy)

Recommended Posts

I received this exception when trying to run an app I deployed on machines

other than my development machine. "An exception

'System.ComponentMode.LicenseException' has occurred in MyApp.exe"

Will this clear up if I update the software (I'm running version 6.0.839)?

I had previously deployed a different application on other machines and had,

and still have, no problem running it. (This previous app is installed and

running on the same machines that are now throwing these exceptions.) I'm

leary of updating my software for fear of breaking my current code, which is

considerable, and wanted to exhaust other options first.

What other options are open to me?

When I attach to the process with the debugger I get some more detail...

Here is the stack trace...

>

chartfx.dll!SoftwareFX.ChartFX.Base.13::J9(System.ComponentModel.LicenseCont

ext 1OK, System.Type 1OL, System.Object 1OM, bool 1ON,

System.ComponentModel.LicenseProvider 1OO) + 0x1dc bytes

chartfx.dll!SoftwareFX.ChartFX.Base.RegistryLicenseProvider::GetLicense(Syst

em.ComponentModel.LicenseContext context, System.Type type, System.Object

instance, bool allowExceptions) + 0x1a bytes

system.dll!System.ComponentModel.LicenseManager::ValidateInternalRecursive(S

ystem.ComponentModel.LicenseContext context, System.Type type, System.Object

instance, bool allowExceptions, System.ComponentModel.License license,

String* licenseKey) + 0x150 bytes

system.dll!System.ComponentModel.LicenseManager::ValidateInternal(System.Typ

e type, System.Object instance, bool allowExceptions,

System.ComponentModel.License license) + 0x2d bytes

system.dll!System.ComponentModel.LicenseManager::Validate(System.Type type,

System.Object instance) + 0x21 bytes

chartfx.dll!SoftwareFX.ChartFX.Chart::Chart() + 0x29 bytes

MyApp.exe!MyApp.ChartControl::InitializeComponent() + 0x30f

bytes

MyApp.exe!MyApp.ChartControl::ChartControl() + 0x59 bytes

MyApp.exe!MyApp.MyAppForm::InitializeComponent() + 0x530 bytes

MyApp.exe!MyApp.MyAppForm::MyAppForm() + 0x1d bytes

MyApp.exe!MyApp.MyAppForm::Main() + 0x15 bytes

Link to comment
Share on other sites

Note that our assembly version is always 6.0.839 so that you can use newer

builds without recompiling, can you check the file version of ChartFX.dll ?

Have you checked if license.licx in your new app references ChartFX ?

--

Regards,

JC

Software FX Support

"Jennifer Kannen" <kannenj@battelle.org> wrote in message

news:hcabiQkmCHA.1060@webserver1.softwarefx.com...

> I received this exception when trying to run an app I deployed on machines

> other than my development machine. "An exception

> 'System.ComponentMode.LicenseException' has occurred in MyApp.exe"

>

> Will this clear up if I update the software (I'm running version 6.0.839)?

> I had previously deployed a different application on other machines and

had,

> and still have, no problem running it. (This previous app is installed

and

> running on the same machines that are now throwing these exceptions.) I'm

> leary of updating my software for fear of breaking my current code, which

is

> considerable, and wanted to exhaust other options first.

>

> What other options are open to me?

>

> When I attach to the process with the debugger I get some more detail...

>

> Here is the stack trace...

>

>

>

> >

>

chartfx.dll!SoftwareFX.ChartFX.Base.13::J9(System.ComponentModel.LicenseCont

> ext 1OK, System.Type 1OL, System.Object 1OM, bool 1ON,

> System.ComponentModel.LicenseProvider 1OO) + 0x1dc bytes

>

>

>

chartfx.dll!SoftwareFX.ChartFX.Base.RegistryLicenseProvider::GetLicense(Syst

> em.ComponentModel.LicenseContext context, System.Type type, System.Object

> instance, bool allowExceptions) + 0x1a bytes

>

>

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternalRecursive(S

> ystem.ComponentModel.LicenseContext context, System.Type type,

System.Object

> instance, bool allowExceptions, System.ComponentModel.License license,

> String* licenseKey) + 0x150 bytes

>

>

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternal(System.Typ

> e type, System.Object instance, bool allowExceptions,

> System.ComponentModel.License license) + 0x2d bytes

>

>

> system.dll!System.ComponentModel.LicenseManager::Validate(System.Type

type,

> System.Object instance) + 0x21 bytes

>

> chartfx.dll!SoftwareFX.ChartFX.Chart::Chart() + 0x29 bytes

>

> MyApp.exe!MyApp.ChartControl::InitializeComponent() + 0x30f

> bytes

>

> MyApp.exe!MyApp.ChartControl::ChartControl() + 0x59 bytes

>

> MyApp.exe!MyApp.MyAppForm::InitializeComponent() + 0x530 bytes

>

> MyApp.exe!MyApp.MyAppForm::MyAppForm() + 0x1d bytes

>

> MyApp.exe!MyApp.MyAppForm::Main() + 0x15 bytes

>

>

>

>

exception.bmp

Link to comment
Share on other sites

Sorry, the file version is 6.0.1019.29297.

Have you checked if license.licx in your new app references ChartFX ?

I don't see a license file - where should I be looking?

"Software FX Support" <support@softwarefx.com> wrote in message

news:iiWazTkmCHA.1060@webserver1.softwarefx.com...

> Note that our assembly version is always 6.0.839 so that you can use newer

> builds without recompiling, can you check the file version of ChartFX.dll

?

>

> Have you checked if license.licx in your new app references ChartFX ?

>

> --

> Regards,

>

> JC

> Software FX Support

> "Jennifer Kannen" <kannenj@battelle.org> wrote in message

> news:hcabiQkmCHA.1060@webserver1.softwarefx.com...

> > I received this exception when trying to run an app I deployed on

machines

> > other than my development machine. "An exception

> > 'System.ComponentMode.LicenseException' has occurred in MyApp.exe"

> >

> > Will this clear up if I update the software (I'm running version

6.0.839)?

> > I had previously deployed a different application on other machines and

> had,

> > and still have, no problem running it. (This previous app is installed

> and

> > running on the same machines that are now throwing these exceptions.)

I'm

> > leary of updating my software for fear of breaking my current code,

which

> is

> > considerable, and wanted to exhaust other options first.

> >

> > What other options are open to me?

> >

> > When I attach to the process with the debugger I get some more detail...

> >

> > Here is the stack trace...

> >

> >

> >

> > >

> >

>

chartfx.dll!SoftwareFX.ChartFX.Base.13::J9(System.ComponentModel.LicenseCont

> > ext 1OK, System.Type 1OL, System.Object 1OM, bool 1ON,

> > System.ComponentModel.LicenseProvider 1OO) + 0x1dc bytes

> >

> >

> >

>

chartfx.dll!SoftwareFX.ChartFX.Base.RegistryLicenseProvider::GetLicense(Syst

> > em.ComponentModel.LicenseContext context, System.Type type,

System.Object

> > instance, bool allowExceptions) + 0x1a bytes

> >

> >

> >

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternalRecursive(S

> > ystem.ComponentModel.LicenseContext context, System.Type type,

> System.Object

> > instance, bool allowExceptions, System.ComponentModel.License license,

> > String* licenseKey) + 0x150 bytes

> >

> >

> >

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternal(System.Typ

> > e type, System.Object instance, bool allowExceptions,

> > System.ComponentModel.License license) + 0x2d bytes

> >

> >

> > system.dll!System.ComponentModel.LicenseManager::Validate(System.Type

> type,

> > System.Object instance) + 0x21 bytes

> >

> > chartfx.dll!SoftwareFX.ChartFX.Chart::Chart() + 0x29 bytes

> >

> > MyApp.exe!MyApp.ChartControl::InitializeComponent() + 0x30f

> > bytes

> >

> > MyApp.exe!MyApp.ChartControl::ChartControl() + 0x59 bytes

> >

> > MyApp.exe!MyApp.MyAppForm::InitializeComponent() + 0x530

bytes

> >

> > MyApp.exe!MyApp.MyAppForm::MyAppForm() + 0x1d bytes

> >

> > MyApp.exe!MyApp.MyAppForm::Main() + 0x15 bytes

> >

> >

> >

> >

>

>

Link to comment
Share on other sites

Please download the latest service pack. This problem has been fixed, see

article Q6102007 for details.

--

FP

Software FX Support

"Jennifer Kannen" <kannenj@battelle.org> wrote in message

news:zyLGp#tmCHA.1060@webserver1.softwarefx.com...

> Sorry, the file version is 6.0.1019.29297.

>

> Have you checked if license.licx in your new app references ChartFX ?

>

> I don't see a license file - where should I be looking?

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:iiWazTkmCHA.1060@webserver1.softwarefx.com...

> > Note that our assembly version is always 6.0.839 so that you can use

newer

> > builds without recompiling, can you check the file version of

ChartFX.dll

> ?

> >

> > Have you checked if license.licx in your new app references ChartFX ?

> >

> > --

> > Regards,

> >

> > JC

> > Software FX Support

> > "Jennifer Kannen" <kannenj@battelle.org> wrote in message

> > news:hcabiQkmCHA.1060@webserver1.softwarefx.com...

> > > I received this exception when trying to run an app I deployed on

> machines

> > > other than my development machine. "An exception

> > > 'System.ComponentMode.LicenseException' has occurred in MyApp.exe"

> > >

> > > Will this clear up if I update the software (I'm running version

> 6.0.839)?

> > > I had previously deployed a different application on other machines

and

> > had,

> > > and still have, no problem running it. (This previous app is

installed

> > and

> > > running on the same machines that are now throwing these exceptions.)

> I'm

> > > leary of updating my software for fear of breaking my current code,

> which

> > is

> > > considerable, and wanted to exhaust other options first.

> > >

> > > What other options are open to me?

> > >

> > > When I attach to the process with the debugger I get some more

detail...

> > >

> > > Here is the stack trace...

> > >

> > >

> > >

> > > >

> > >

> >

>

chartfx.dll!SoftwareFX.ChartFX.Base.13::J9(System.ComponentModel.LicenseCont

> > > ext 1OK, System.Type 1OL, System.Object 1OM, bool 1ON,

> > > System.ComponentModel.LicenseProvider 1OO) + 0x1dc bytes

> > >

> > >

> > >

> >

>

chartfx.dll!SoftwareFX.ChartFX.Base.RegistryLicenseProvider::GetLicense(Syst

> > > em.ComponentModel.LicenseContext context, System.Type type,

> System.Object

> > > instance, bool allowExceptions) + 0x1a bytes

> > >

> > >

> > >

> >

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternalRecursive(S

> > > ystem.ComponentModel.LicenseContext context, System.Type type,

> > System.Object

> > > instance, bool allowExceptions, System.ComponentModel.License license,

> > > String* licenseKey) + 0x150 bytes

> > >

> > >

> > >

> >

>

system.dll!System.ComponentModel.LicenseManager::ValidateInternal(System.Typ

> > > e type, System.Object instance, bool allowExceptions,

> > > System.ComponentModel.License license) + 0x2d bytes

> > >

> > >

> > > system.dll!System.ComponentModel.LicenseManager::Validate(System.Type

> > type,

> > > System.Object instance) + 0x21 bytes

> > >

> > > chartfx.dll!SoftwareFX.ChartFX.Chart::Chart() + 0x29 bytes

> > >

> > > MyApp.exe!MyApp.ChartControl::InitializeComponent() +

0x30f

> > > bytes

> > >

> > > MyApp.exe!MyApp.ChartControl::ChartControl() + 0x59 bytes

> > >

> > > MyApp.exe!MyApp.MyAppForm::InitializeComponent() + 0x530

> bytes

> > >

> > > MyApp.exe!MyApp.MyAppForm::MyAppForm() + 0x1d bytes

> > >

> > > MyApp.exe!MyApp.MyAppForm::Main() + 0x15 bytes

> > >

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...