User (Legacy) Posted April 26, 2004 Report Share Posted April 26, 2004 I have problems hosting a ChartFX control in Internet Explorer. A .licenses file is referenced in the manner outlined in this article: http://windowsforms.net/articles/Licensing.aspx, using a <link rel="licenses" href="testcontrol.htm.licenses" > tag in the header of my html file. testcontrol.htm (IEControl is a winforms control that uses ChartFX internally): <html> <head> <title>Test page - IEWrapper</title> <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0"> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <LINK REL="licenses" HREF="testcontrol.htm.licenses"> </head> <body> Hei <br> <object id="test" classid="http:Inenco.Mikon.Controls.IEWrapper.dll#Inenco.Mikon.Controls.IEWr apper.IEControl" height="300" width="700" VIEWASTEXT> <param name="ConnectionString" value="remoting;url=tcp://buildmatix:1001/MikonServices"> <param name="PresentationType" value="trend"> <param name="DataString" value="P8-JUMBO"> </object> </body> </html> The following exception gets thrown: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ComponentModel.LicenseException: Couldn't get Run Time license for 'SoftwareFX.ChartFX.Chart' at SoftwareFX.ChartFX.Base.1X.PU(LicenseContext 2HO, Type 2HP, Object 2HQ, Boolean 2HR, LicenseProvider 2HS) at SoftwareFX.ChartFX.Base.RegistryLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContex t context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license) at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at SoftwareFX.ChartFX.Chart..ctor() at Inenco.Mikon.Controls.Trend..ctor() at Inenco.Mikon.Controls.IEWrapper.IEControl.createControlObject() at Inenco.Mikon.Controls.IEWrapper.IEControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessag e(Message& m) at System.Windows.Forms.ActiveXImpl.System.Windows.Forms.IWindowTarget.OnMessag e(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll ---------------------------------------- System Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll ---------------------------------------- Inenco.Mikon.Controls.IEWrapper Assembly Version: 1.0.1572.22480 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Controls.IEWrapper.dll ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- System.Xml Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll ---------------------------------------- Inenco.Mikon.Controls.Trend Assembly Version: 1.0.1572.22479 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Controls.Trend.DLL ---------------------------------------- Inenco.Mikon.Controls Assembly Version: 1.0.0.9 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Controls.DLL ---------------------------------------- Inenco.Mikon.Services.Common Assembly Version: 0.9.0.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Services.Common.DLL ---------------------------------------- Inenco.Mikon.Controls.Spreadsheet Assembly Version: 1.0.0.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Controls.Spreadsheet.DLL ---------------------------------------- Accessibility Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.0 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.3300.0__b03f5f7f11d50a3a/accessibility.dll ---------------------------------------- Inenco.Mikon.Controls.GenericPresentation Assembly Version: 1.0.1572.22479 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Controls.GenericPresentation.DLL ---------------------------------------- log4net Assembly Version: 1.2.0.30714 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/log4net.DLL ---------------------------------------- FarPoint.Win.Spread Assembly Version: 1.0.3.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/FarPoint.Win.Spread.DLL ---------------------------------------- FarPoint.Win Assembly Version: 1.0.4.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/FarPoint.Win.DLL ---------------------------------------- System.Data Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll ---------------------------------------- Inenco.Mikon.Services.Client Assembly Version: 0.9.0.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/Inenco.Mikon.Services.Client.DLL ---------------------------------------- System.Runtime.Remoting Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.runtime.remoting/1.0.3300.0__b77a5c561934e089/system.runtime.remoting.dll ---------------------------------------- FarPoint.CalcEngine Assembly Version: 1.0.4.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/FarPoint.CalcEngine.DLL ---------------------------------------- ChartFX Assembly Version: 6.2.1342.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/ChartFX.DLL ---------------------------------------- ChartFX.Base Assembly Version: 6.2.1342.0 Win32 Version: n/a CodeBase: http://bernt/ControlsTest/ChartFX.Base.DLL Link to comment Share on other sites More sharing options...
Software FX Posted April 26, 2004 Report Share Posted April 26, 2004 I believe the problem here is dues to the fact that you are not including our component directly into the WEB page but wrapping it around another control. Wrapping our control is in general NOT allowed by the standard license agreement. Please contact our sales dept. for special licensing. Note: The component you are using (SoftwareFX.ChartFX.Chart) is not designed to work inside a browser where the security levels are different than in local environments. We have a Win Forms control specifically designed to work inside IE that comes included in Chart FX for .NET. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 26, 2004 Author Report Share Posted April 26, 2004 The usage scenario is this: Our control gets data from a web-service or remoting server (data is passed using custom objects, and the control contains a lot of logic to populate the chart). The chartFX control is populated using OpenData/Value[i,j]/CloseData, and various chart properties are also set using properties of the chartFx class. Can you please point me to documentation that explains the use of the IE-enabled control? Is this control similar to the normal ChartFX control? Can it be populated with data using an API? We bought the ChartFX WinForms package, is the IE-enabled control part of this package? If the IE-enabled control does not suit our needs, we might go for the special licensing option and continue to use the SoftwareFX.ChartFX.Chart control. Exactly what permissions does the control require? It seems to work OK when I host it in Internet Explorer on my dev. computer w/ license installed. Regards, Bernt Brenna "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:FD7nbm5KEHA.600@webserver3.softwarefx.com... > I believe the problem here is dues to the fact that you are not including > our component directly into the WEB page but wrapping it around another > control. > > Wrapping our control is in general NOT allowed by the standard license > agreement. Please contact our sales dept. for special licensing. > > Note: The component you are using (SoftwareFX.ChartFX.Chart) is not designed > to work inside a browser where the security levels are different than in > local environments. We have a Win Forms control specifically designed to > work inside IE that comes included in Chart FX for .NET. > > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted April 27, 2004 Report Share Posted April 27, 2004 1) You can keep using the Windows Form control but as I said, this control HAS NOT been tested inside a WEB Browser environment. Some functionality may cause unhandled security exceptions.So you will need to test this to prevent the use of such features. 2) The IE Client Control comes as part of Chart FX for .NET (Full Version) it does not come as part of Chart FX for Windows Forms. 3) As I said in my previous posting, regardless of which option you take, you need to contact Software FX for special licensing. Wrapping our control inside another is not allowed by our standard license agreement. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.