I copied all the files in my project to my webhost where I activated .NET 3.5 framework. The files included all the bin files too!
I get the following message when trying to access a page with the webchart.
Security Exception
Description: The
application attempted to perform an operation not allowed by the
security policy. To grant this application the required permission
please contact your system administrator or change the application's
trust level in the configuration file.
Exception Details: System.Security.SecurityException:
Request for the permission of type
'System.Security.Permissions.SecurityPermission, mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed.
Source Error:
Line 6: Line 7: <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> Line 8: <C1WebChart:C1WebChart ID="C1WebChart1" runat="server" Width="800px" Height="480px" ongeneralcallback="C1WebChart1_GeneralCallback" ImageFormat="Png" SlidingExpiration="00:00:30" ImageQuality="100"> Line 9: </C1WebChart:C1WebChart> Line 10: <asp:Label runat="server" ID="ChartStatus"></asp:Label> |
What can I be doing wrong?
Thanks already,
Ralph