User (Legacy) Posted December 2, 2002 Report Share Posted December 2, 2002 I'm able to compile and run a C# GUI which displays a simple ChartFX Lite chart. However, when I deploy the app (by copying the contents of my bin/Debug folder) to a network drive and try to run it (from the same development PC) I get this exception: An unhandled exception of type 'System.TypeInitializationException' occurred in TestChartFXLite.exe Additional information: The type initializer for "SoftwareFX.ChartFX.Lite.Chart" threw an exception. I've seen other posts about deployment issues. My project contains a licx file, and it is specified as an "Embedded Resource". I've seen some other posts about not having document windows open, re-adding the license file, etc. and have tried all those, and rattled some chicken bones and said an incantation or two for good measure. I see in ildasm.exe that my .exe's manifest has this: .mresource public TestChartFXLite.exe.licenses { } Lutz Roeder's .Net Reflector has this info for my .exe's Resources: TestChartFXLite.exe.licenses 890 bytes Location: Embedded, ContainedInManifestFile Any ideas? Any links to instructions for deploying with ChartFX Lite for .Net? Ryan Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 2, 2002 Author Report Share Posted December 2, 2002 I'm able to compile and run a C# GUI which displays a simple ChartFX Lite chart. However, when I deploy the app (by copying the contents of my bin/Debug folder) to a network drive and try to run it (from the same development PC) I get this exception: An unhandled exception of type 'System.TypeInitializationException' occurred in TestChartFXLite.exe Additional information: The type initializer for "SoftwareFX.ChartFX.Lite.Chart" threw an exception. I've seen other posts about deployment issues. My project contains a licx file, and it is specified as an "Embedded Resource". I've seen some other posts about not having document windows open, re-adding the license file, etc. and have tried all those, and rattled some chicken bones and said an incantation or two for good measure. I see in ildasm.exe that my .exe's manifest has this: .mresource public TestChartFXLite.exe.licenses { } Lutz Roeder's .Net Reflector has this info for my .exe's Resources: TestChartFXLite.exe.licenses 890 bytes Location: Embedded, ContainedInManifestFile Any ideas? Any links to instructions for deploying with ChartFX Lite for .Net? Ryan Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 Can you duplicate this issue in a dummy empty project (with a chart) ? Have you tried copying your app to a local folder (permissions are different when running from a network folder) ? Would you please send us an exe that exhibits this problem ? -- Regards, JC Software FX Support "Ryan Seghers" <rseghers@calypsomedical.com> wrote in message news:0u$enunmCHA.1060@webserver1.softwarefx.com... > I'm able to compile and run a C# GUI which displays a simple ChartFX Lite > chart. However, when I deploy the app (by copying the contents of my > bin/Debug folder) to a network drive and try to run it (from the same > development PC) I get this exception: > > An unhandled exception of type 'System.TypeInitializationException' > occurred in > TestChartFXLite.exe > Additional information: The type initializer for > "SoftwareFX.ChartFX.Lite.Chart" > threw an exception. > > I've seen other posts about deployment issues. My project contains a licx > file, and it is specified as an "Embedded Resource". I've seen some other > posts about not having document windows open, re-adding the license file, > etc. and have tried all those, and rattled some chicken bones and said an > incantation or two for good measure. > > I see in ildasm.exe that my .exe's manifest has this: > .mresource public TestChartFXLite.exe.licenses > { > } > > Lutz Roeder's .Net Reflector has this info for my .exe's Resources: > TestChartFXLite.exe.licenses > 890 bytes > Location: Embedded, ContainedInManifestFile > > Any ideas? > Any links to instructions for deploying with ChartFX Lite for .Net? > > Ryan > > > Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 Can you duplicate this issue in a dummy empty project (with a chart) ? Have you tried copying your app to a local folder (permissions are different when running from a network folder) ? Would you please send us an exe that exhibits this problem ? -- Regards, JC Software FX Support "Ryan Seghers" <rseghers@calypsomedical.com> wrote in message news:0u$enunmCHA.1060@webserver1.softwarefx.com... > I'm able to compile and run a C# GUI which displays a simple ChartFX Lite > chart. However, when I deploy the app (by copying the contents of my > bin/Debug folder) to a network drive and try to run it (from the same > development PC) I get this exception: > > An unhandled exception of type 'System.TypeInitializationException' > occurred in > TestChartFXLite.exe > Additional information: The type initializer for > "SoftwareFX.ChartFX.Lite.Chart" > threw an exception. > > I've seen other posts about deployment issues. My project contains a licx > file, and it is specified as an "Embedded Resource". I've seen some other > posts about not having document windows open, re-adding the license file, > etc. and have tried all those, and rattled some chicken bones and said an > incantation or two for good measure. > > I see in ildasm.exe that my .exe's manifest has this: > .mresource public TestChartFXLite.exe.licenses > { > } > > Lutz Roeder's .Net Reflector has this info for my .exe's Resources: > TestChartFXLite.exe.licenses > 890 bytes > Location: Embedded, ContainedInManifestFile > > Any ideas? > Any links to instructions for deploying with ChartFX Lite for .Net? > > Ryan > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 My project is a "dummy" project. It's a very simple C# GUI with 1 button and a chart. It runs from the original build directory bin/Debug just fine. When I copy the bin/Debug directory to another local directory it runs fine. When I copy the bin/Debug directory to either of a couple of network mapped drives it fails with the aforementioned exception. I just sent the contents of the bin/Debug directory to you (minus the xml and pdb), which are: TestChartFXLite.exe ChartFX.Lite.dll Ryan "Software FX Support" <support@softwarefx.com> wrote in message news:VNinxotmCHA.1060@webserver1.softwarefx.com... > Can you duplicate this issue in a dummy empty project (with a chart) ? > Have you tried copying your app to a local folder (permissions are different > when running from a network folder) ? > Would you please send us an exe that exhibits this problem ? > > -- > Regards, > > JC > Software FX Support > "Ryan Seghers" <rseghers@calypsomedical.com> wrote in message > news:0u$enunmCHA.1060@webserver1.softwarefx.com... > > I'm able to compile and run a C# GUI which displays a simple ChartFX Lite > > chart. However, when I deploy the app (by copying the contents of my > > bin/Debug folder) to a network drive and try to run it (from the same > > development PC) I get this exception: > > > > An unhandled exception of type 'System.TypeInitializationException' > > occurred in > > TestChartFXLite.exe > > Additional information: The type initializer for > > "SoftwareFX.ChartFX.Lite.Chart" > > threw an exception. > > > > I've seen other posts about deployment issues. My project contains a licx > > file, and it is specified as an "Embedded Resource". I've seen some other > > posts about not having document windows open, re-adding the license file, > > etc. and have tried all those, and rattled some chicken bones and said an > > incantation or two for good measure. > > > > I see in ildasm.exe that my .exe's manifest has this: > > .mresource public TestChartFXLite.exe.licenses > > { > > } > > > > Lutz Roeder's .Net Reflector has this info for my .exe's Resources: > > TestChartFXLite.exe.licenses > > 890 bytes > > Location: Embedded, ContainedInManifestFile > > > > Any ideas? > > Any links to instructions for deploying with ChartFX Lite for .Net? > > > > Ryan > > > > > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 My project is a "dummy" project. It's a very simple C# GUI with 1 button and a chart. It runs from the original build directory bin/Debug just fine. When I copy the bin/Debug directory to another local directory it runs fine. When I copy the bin/Debug directory to either of a couple of network mapped drives it fails with the aforementioned exception. I just sent the contents of the bin/Debug directory to you (minus the xml and pdb), which are: TestChartFXLite.exe ChartFX.Lite.dll Ryan "Software FX Support" <support@softwarefx.com> wrote in message news:VNinxotmCHA.1060@webserver1.softwarefx.com... > Can you duplicate this issue in a dummy empty project (with a chart) ? > Have you tried copying your app to a local folder (permissions are different > when running from a network folder) ? > Would you please send us an exe that exhibits this problem ? > > -- > Regards, > > JC > Software FX Support > "Ryan Seghers" <rseghers@calypsomedical.com> wrote in message > news:0u$enunmCHA.1060@webserver1.softwarefx.com... > > I'm able to compile and run a C# GUI which displays a simple ChartFX Lite > > chart. However, when I deploy the app (by copying the contents of my > > bin/Debug folder) to a network drive and try to run it (from the same > > development PC) I get this exception: > > > > An unhandled exception of type 'System.TypeInitializationException' > > occurred in > > TestChartFXLite.exe > > Additional information: The type initializer for > > "SoftwareFX.ChartFX.Lite.Chart" > > threw an exception. > > > > I've seen other posts about deployment issues. My project contains a licx > > file, and it is specified as an "Embedded Resource". I've seen some other > > posts about not having document windows open, re-adding the license file, > > etc. and have tried all those, and rattled some chicken bones and said an > > incantation or two for good measure. > > > > I see in ildasm.exe that my .exe's manifest has this: > > .mresource public TestChartFXLite.exe.licenses > > { > > } > > > > Lutz Roeder's .Net Reflector has this info for my .exe's Resources: > > TestChartFXLite.exe.licenses > > 890 bytes > > Location: Embedded, ContainedInManifestFile > > > > Any ideas? > > Any links to instructions for deploying with ChartFX Lite for .Net? > > > > Ryan > > > > > > > > Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 What are your .NET security settings set to for Local Network ? Can you run a form without a chart from the network ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 What are your .NET security settings set to for Local Network ? Can you run a form without a chart from the network ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 Yes, I'm able to run the same GUI (wihout the chart) from the network mapped drives. Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:op1ocbvmCHA.1060@webserver1.softwarefx.com... > What are your .NET security settings set to for Local Network ? Can you run > a form without a chart from the network ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 Yes, I'm able to run the same GUI (wihout the chart) from the network mapped drives. Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:op1ocbvmCHA.1060@webserver1.softwarefx.com... > What are your .NET security settings set to for Local Network ? Can you run > a form without a chart from the network ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 What are your .NET security settings set to for Local Network ? Use the control panel to find out. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted December 3, 2002 Report Share Posted December 3, 2002 What are your .NET security settings set to for Local Network ? Use the control panel to find out. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 Yes, it's a security issue. I am unable to run mscorcfg.msc (the control panel Microsoft .Net Framework Configuration) due to some installation problem, but if I disable .Net security with: caspol.exe -s off then I can use the CharFX Lite chart. However, I'd like to not have to disable security. Can you tell me what additional permissions ChartFX Lite needs to run? Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:KrV0MUxmCHA.1060@webserver1.softwarefx.com... > What are your .NET security settings set to for Local Network ? Use the > control panel to find out. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 3, 2002 Author Report Share Posted December 3, 2002 Yes, it's a security issue. I am unable to run mscorcfg.msc (the control panel Microsoft .Net Framework Configuration) due to some installation problem, but if I disable .Net security with: caspol.exe -s off then I can use the CharFX Lite chart. However, I'd like to not have to disable security. Can you tell me what additional permissions ChartFX Lite needs to run? Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:KrV0MUxmCHA.1060@webserver1.softwarefx.com... > What are your .NET security settings set to for Local Network ? Use the > control panel to find out. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted December 4, 2002 Report Share Posted December 4, 2002 You need to assign Full Trust to the Chart FX Lite assembly, which is strong named, as well as the application that uses it. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Software FX Posted December 4, 2002 Report Share Posted December 4, 2002 You need to assign Full Trust to the Chart FX Lite assembly, which is strong named, as well as the application that uses it. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 4, 2002 Author Report Share Posted December 4, 2002 What does ChartFX do that requires FullTrust? Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:8V8G6a7mCHA.1060@webserver1.softwarefx.com... > You need to assign Full Trust to the Chart FX Lite assembly, which is strong > named, as well as the application that uses it. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 4, 2002 Author Report Share Posted December 4, 2002 What does ChartFX do that requires FullTrust? Ryan "SoftwareFX Support" <support@softwarefx.com> wrote in message news:8V8G6a7mCHA.1060@webserver1.softwarefx.com... > You need to assign Full Trust to the Chart FX Lite assembly, which is strong > named, as well as the application that uses it. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.