Jump to content
Software FX Community

run time exception while setting chart1.HtmlTag = ".net"


Recommended Posts


i am setting chart1.HtmlTag = ".net" at design time, after setting this property when i run the project the exception occurs saying "An exception 'System.Security.SecurityException' has occurred in localhost".

how to solve this exception???

my basic requirement is to display toolbar on chart and make the chart interactive.

one more point is that when i am setting chart1.HtmlTag = "image", the chart is loading properly and working fine but toolbar is not visible.

how to solve this problem???

pls,reply as soon as possible!!!!



Divyesh Maniyar


Link to comment
Share on other sites

  • 2 weeks later...

The problem is related to the security settings in the .NET framework settings. When rendering the chart as .NET, the .NET framework requires full trust for certain chart features.

Please try setting the trust levels of the Framework as follows:

a) Control Panel -> Administrative Tools -> Microsoft .NET Framework 2.0 Configuration.

:) On the left, expand the My Computer tree. Left click on Runtime Security Policy. On the right, click on Adjust Zone Security.

c) Make sure that "Make changes to this computer" is checked. Click next.

d) Enable full trust for My Computer, Internet, Intranet and Trusted Sites for now.

e) Click next, then finish.

Best Regards,


Software FX Support


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...