User (Legacy) Posted June 17, 2004 Report Share Posted June 17, 2004 I have created a small sample with a webforms chart. Why do I get a security exception when zooming in on graphs? JIT output is below. Regards, Chris _______________________________________________________________ See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Security.SecurityException: Request for the permission of type System.Security.Permissions.UIPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at SoftwareFX.ChartFX.Internet.Client.1E.JB() at SoftwareFX.ChartFX.Internet.Client.1E.JC(Int32 29Z, Int32 2A0) at SoftwareFX.ChartFX.Internet.Client.1E.OnMouseMove(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(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.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- RegexAssembly6_0 Assembly Version: 0.0.0.0 Win32 Version: n/a CodeBase: ---------------------------------------- ChartFX.MainClient Assembly Version: 6.0.1201.29676 Win32 Version: n/a CodeBase: http://64.180.56.156/chartfx62/download/ChartFX.MainClient.DLL ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll ---------------------------------------- Accessibility Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll ---------------------------------------- ChartFX.Internet.Client Assembly Version: 6.2.1539.21391 Win32 Version: n/a CodeBase: http://64.180.56.156/chartfx62/download/ChartFX.Internet.Client.DLL ---------------------------------------- ChartFX.Internet.Base Assembly Version: 6.2.1539.21354 Win32 Version: n/a CodeBase: http://64.180.56.156/chartfx62/download/ChartFX.Internet.Base.DLL ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. Link to comment Share on other sites More sharing options...
Software FX Posted June 17, 2004 Report Share Posted June 17, 2004 Dear Chris, What is happening here is we are issuing this command when you attempt to do the zoom ControlPaint.DrawReversibleFrame () see .net api This requires at least a Medium Level of Trust when you are hitting 64.180.56.156 This is in the Internet zone. Everything else is ChartFX should work fine with Low Trust besides client side events. How do you change this? see here http://support.softwarefx.com/kb/614/1/001.htm Start->Administrative Tools->Microsoft .NET Framework 1.1 Wizards->Adjust .NET Security-> Internet Zone if you use your IP Intranet Zone if you use Localhost Set security level to medium or higher. Finish, close browser and you will see the zoom works. This is a limitation of the .net framework. The new version of .net Whidbey will solve these issues. -CJS "Christopher Dedels" <chrisdedels@hotmail.com> wrote in message news:bK0X7xCVEHA.3080@webserver3.softwarefx.com... > I have created a small sample with a webforms chart. Why do I get a > security exception when zooming in on graphs? JIT output is below. > > Regards, > > Chris > _______________________________________________________________ > See the end of this message for details on invoking > just-in-time (JIT) debugging instead of this dialog box. > > ************** Exception Text ************** > System.Security.SecurityException: Request for the permission of type > System.Security.Permissions.UIPermission, mscorlib, Version=1.0.5000.0, > Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. > at SoftwareFX.ChartFX.Internet.Client.1E.JB() > at SoftwareFX.ChartFX.Internet.Client.1E.JC(Int32 29Z, Int32 2A0) > at SoftwareFX.ChartFX.Internet.Client.1E.OnMouseMove(MouseEventArgs e) > at System.Windows.Forms.Control.WmMouseMove(Message& m) > at System.Windows.Forms.Control.WndProc(Message& m) > at System.Windows.Forms.ControlNativeWindow.OnMessage(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.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll > ---------------------------------------- > System.Drawing > Assembly Version: 1.0.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll > ---------------------------------------- > System > Assembly Version: 1.0.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll > ---------------------------------------- > RegexAssembly6_0 > Assembly Version: 0.0.0.0 > Win32 Version: n/a > CodeBase: > ---------------------------------------- > ChartFX.MainClient > Assembly Version: 6.0.1201.29676 > Win32 Version: n/a > CodeBase: http://64.180.56.156/chartfx62/download/ChartFX.MainClient.DLL > ---------------------------------------- > System.Windows.Forms > Assembly Version: 1.0.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll > ---------------------------------------- > Microsoft.mshtml > Assembly Version: 7.0.3300.0 > Win32 Version: 7.0.3300.0 > CodeBase: > file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll > ---------------------------------------- > Accessibility > Assembly Version: 1.0.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll > ---------------------------------------- > ChartFX.Internet.Client > Assembly Version: 6.2.1539.21391 > Win32 Version: n/a > CodeBase: > http://64.180.56.156/chartfx62/download/ChartFX.Internet.Client.DLL > ---------------------------------------- > ChartFX.Internet.Base > Assembly Version: 6.2.1539.21354 > Win32 Version: n/a > CodeBase: > http://64.180.56.156/chartfx62/download/ChartFX.Internet.Base.DLL > ---------------------------------------- > System.Xml > Assembly Version: 1.0.5000.0 > Win32 Version: 1.1.4322.573 > CodeBase: > file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll > ---------------------------------------- > > ************** JIT Debugging ************** > To enable just in time (JIT) debugging, the config file for this > application or machine (machine.config) must have the > jitDebugging value set in the system.windows.forms section. > The application must also be compiled with debugging > enabled. > > For example: > > <configuration> > <system.windows.forms jitDebugging="true" /> > </configuration> > > When JIT debugging is enabled, any unhandled exception > will be sent to the JIT debugger registered on the machine > rather than being handled by this dialog. > > > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 18, 2004 Author Report Share Posted June 18, 2004 Did this, restarted and everything seems to work. Thanks! Chris "Software FX Support" <support@softwarefx.com> wrote in message news:sD2FLdHVEHA.3080@webserver3.softwarefx.com... > Dear Chris, > What is happening here is we are issuing this command when you attempt to do > the zoom > ControlPaint.DrawReversibleFrame () see .net api > This requires at least a Medium Level of Trust when you are hitting > 64.180.56.156 > This is in the Internet zone. > Everything else is ChartFX should work fine with Low Trust besides client > side events. > > How do you change this? see here > http://support.softwarefx.com/kb/614/1/001.htm > > Start->Administrative Tools->Microsoft .NET Framework 1.1 Wizards->Adjust > .NET Security-> > Internet Zone if you use your IP > Intranet Zone if you use Localhost > > Set security level to medium or higher. Finish, close browser and you will > see the zoom works. > > This is a limitation of the .net framework. The new version of .net Whidbey > will solve these issues. > > > -CJS > > "Christopher Dedels" <chrisdedels@hotmail.com> wrote in message > news:bK0X7xCVEHA.3080@webserver3.softwarefx.com... > > I have created a small sample with a webforms chart. Why do I get a > > security exception when zooming in on graphs? JIT output is below. > > > > Regards, > > > > Chris > > _______________________________________________________________ > > See the end of this message for details on invoking > > just-in-time (JIT) debugging instead of this dialog box. > > > > ************** Exception Text ************** > > System.Security.SecurityException: Request for the permission of type > > System.Security.Permissions.UIPermission, mscorlib, Version=1.0.5000.0, > > Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. > > at SoftwareFX.ChartFX.Internet.Client.1E.JB() > > at SoftwareFX.ChartFX.Internet.Client.1E.JC(Int32 29Z, Int32 2A0) > > at SoftwareFX.ChartFX.Internet.Client.1E.OnMouseMove(MouseEventArgs e) > > at System.Windows.Forms.Control.WmMouseMove(Message& m) > > at System.Windows.Forms.Control.WndProc(Message& m) > > at System.Windows.Forms.ControlNativeWindow.OnMessage(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.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll > > ---------------------------------------- > > System.Drawing > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll > > ---------------------------------------- > > System > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll > > ---------------------------------------- > > RegexAssembly6_0 > > Assembly Version: 0.0.0.0 > > Win32 Version: n/a > > CodeBase: > > ---------------------------------------- > > ChartFX.MainClient > > Assembly Version: 6.0.1201.29676 > > Win32 Version: n/a > > CodeBase: > http://64.180.56.156/chartfx62/download/ChartFX.MainClient.DLL > > ---------------------------------------- > > System.Windows.Forms > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll > > ---------------------------------------- > > Microsoft.mshtml > > Assembly Version: 7.0.3300.0 > > Win32 Version: 7.0.3300.0 > > CodeBase: > > > file:///c:/windows/assembly/gac/microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/microsoft.mshtml.dll > > ---------------------------------------- > > Accessibility > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll > > ---------------------------------------- > > ChartFX.Internet.Client > > Assembly Version: 6.2.1539.21391 > > Win32 Version: n/a > > CodeBase: > > http://64.180.56.156/chartfx62/download/ChartFX.Internet.Client.DLL > > ---------------------------------------- > > ChartFX.Internet.Base > > Assembly Version: 6.2.1539.21354 > > Win32 Version: n/a > > CodeBase: > > http://64.180.56.156/chartfx62/download/ChartFX.Internet.Base.DLL > > ---------------------------------------- > > System.Xml > > Assembly Version: 1.0.5000.0 > > Win32 Version: 1.1.4322.573 > > CodeBase: > > > file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll > > ---------------------------------------- > > > > ************** JIT Debugging ************** > > To enable just in time (JIT) debugging, the config file for this > > application or machine (machine.config) must have the > > jitDebugging value set in the system.windows.forms section. > > The application must also be compiled with debugging > > enabled. > > > > For example: > > > > <configuration> > > <system.windows.forms jitDebugging="true" /> > > </configuration> > > > > When JIT debugging is enabled, any unhandled exception > > will be sent to the JIT debugger registered on the machine > > rather than being handled by this dialog. > > > > > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.