in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Deploy problem

Last post 07-08-2008 5:14 PM by C1_AndrewM. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-02-2008 3:01 AM

    • alanis
    • Top 500 Contributor
    • Joined on 07-31-2006
    • Posts 9

    Deploy problem

    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

     

  • 07-02-2008 9:59 AM In reply to

    Re: Deploy problem

    Hello Ralph,
     
    It seems to me form your error is that you are hosting the web app on the Medium trust enviornment. If this is the case then please try the latest build of our C1WebChart dll and if this does not help then please send us your query at support@componentone.com
     
     
    Also try the below link to build our controls in partial trust enviorment.
     
     
    Regards,
    Patrick
    <alanis> wrote in message news:206652@10.0.1.98...

    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

     



    http://helpcentral.componentone.com/cs/forums/p/75761/206652.aspx#206652

  • 07-08-2008 5:14 PM In reply to

    Re: Deploy problem

    Hello Ralph,
     
    Please check the SecurityPermission, section of your web.config file.
     
    -Regards,
    Andrew
    <alanis> wrote in message news:206652@10.0.1.98...

    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

     



    http://helpcentral.componentone.com/cs/forums/p/75761/206652.aspx#206652

Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.