Jump to content
Software FX Community

security error when changing chart series order across network - does not happen when accessing the local server under the admin user


AsifKhan

Recommended Posts

I am receiving this error when I try to minipulate the series arrangement on the chart (Bring to Front or Back). the chart is rendered in .NET mode. the generated error is pasted below:-

 

 

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.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.CodeAccessPermission.Demand()

at System.Drawing.Graphics.FromHwnd(IntPtr hwnd)

at ChartFX.NetIEClient.Internal.GraphicsEx.FromScreen()

at ChartFX.NetIEClient.LabelAwareCollection.UpdateText(Int32 index, String text)

at ChartFX.NetIEClient.SeriesAttributesCollection.RemoveAt(Int32 index)

at ChartFX.NetIEClient.Internal.RequiresAmbientCollection.Remove(Object item)

at ChartFX.NetIEClient.SeriesAttributesCollection.Remove(SeriesAttributes item)

at ChartFX.NetIEClient.SeriesAttributes.BringToFront()

at ChartFX.NetIEClient.al.a(Object A_0, CommandsEventArgs A_1, Boolean& A_2)

at ChartFX.NetIEClient.f.a(Object A_0, CommandsEventArgs A_1)

at ChartFX.NetIEClient.CommandCollection.a(Int32 A_0, Int32 A_1, IUIObject A_2)

at ChartFX.NetIEClient.CommandCollection.a(Object A_0, Int32 A_1, ICommand A_2, Boolean A_3, IUIObject A_4)

at ChartFX.NetIEClient.c.a(EventArgs A_0)

at System.Windows.Forms.MenuItem.MenuItemData.Execute()

at System.Windows.Forms.Command.Invoke()

at System.Windows.Forms.Control.WmCommand(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The action that failed was:

Demand

The type of the first permission that failed was:

System.Security.Permissions.SecurityPermission

The Zone of the assembly that failed was:

Intranet

 

 

************** Loaded Assemblies **************

mscorlib

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

System

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

ChartFX.NetIEClient

  Assembly Version: 7.0.2664.18534

  Win32 Version: n/a

  CodeBase: http://lon-sql-01/chartfx70/download/ChartFX.NetIEClient.dll

----------------------------------------

System.Windows.Forms

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

ChartFX.NetIEClient.Base

  Assembly Version: 7.0.2664.18353

  Win32 Version: n/a

  CodeBase: http://lon-sql-01/chartfx70/download/ChartFX.NetIEClient.Base.DLL

----------------------------------------

System.Drawing

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Accessibility

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

ChartFX.NetIEClient.Adornments

  Assembly Version: 7.0.2664.18381

  Win32 Version: n/a

  CodeBase: http://lon-sql-01/chartfx70/download/ChartFX.NetIEClient.Adornments.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

----------------------------------------

System.Configuration

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Data

  Assembly Version: 2.0.0.0

  Win32 Version: 2.0.50727.42 (RTM.050727-4200)

  CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

----------------------------------------

 

************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (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 computer

rather than be handled by this dialog box.

 

Link to comment
Share on other sites

This is a bug.

I was able to reproduce and we have fixed it in our internal build. The fix will be included in the next Service Pack. You can obtain an early release (Hot Fix) by contacting Software FX Support.

Note: HotFixes are not as rigorously tested as Service Packs, we recommend waiting for the service pack unless the problem is a "show stopper".

Link to comment
Share on other sites

It has been more than a week now and I have written to them multiple times. I think this reflects a poor standard of customer support. we have purchased a product for thousands of dollars and the support staff is constantly ignoring our emails(although we have reported a genuine issue). This is a high priority issue for us and we need this to be resolved asap.

Please advise!

 

 

 

Link to comment
Share on other sites

Asif,

 By looking through our support system, I found a ticket you created on May 18th. We replied to that case that same day with instructions on how to obtain and apply the hotfix.

Unfortunately, I believe your spam filter may be blocking the automated emails sent by our Support System. I will send you a direct email just now with the link to the ticet page.

 To avoid any delays in the future, please make sure that all emails from softwarex.com are allowed.

Thanks.

Link to comment
Share on other sites

I can vouch that I reported this same issue and SoftwareFX support responded within 5 hours, and emailed me the hotfix.

The support email system provides an immediate automated reply. If you don't receive that within a few minutes then you should suspect that the email has been lost somewhere. 

Anyone not receiving a timely response should maybe also try phoning support.

Hope this helps.

Link to comment
Share on other sites

Thanks thomas, I have downloaded the hotfix. Unfortunately, the issue still remains at my end. for some reason, this functionality (send to back/front) works only on one of the machines on my network. although I have same setup on other machines but still the security exception is raised each time i try to change series arrangement.

About the automated replies, I did not receive any responses in my junk mail. this could be because of spam filtering at the mail server. I just needed the issue to be resolved at high priority and my intention wasn't to offend anyone.

Thanks and Regards,

Asif.

Link to comment
Share on other sites

>  although I have same setup on other machines but still the security exception is raised each time i try to change series arrangement.

Something is different between these machines. Make sure the hotfix is actually being downloaded to these machines. You can use gacutil to verify the version of your downloaded Chart FX dlls.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...