webchart loading dll to bin problem RRS feed

  • Question

  • User2142720918 posted

    Hi there, I have a problem with my webserver or the web.config file. I want to load "WebChart.dll" which I downloaded from carlosag.net. If I put this dll into the Bin folder and run the application on my local webserver (from VS2005) it works fine. But, when I copy my Site on the webserver, it won't load the dll. ...I looked around this forum for a long time, but I'm not finding a solution.

    hello sir,
    i am trying to use your web chart control in asp.net 2.0(c#).
    locally(i.e. at my personal computer)  web char control is running
    fine but when i am trying to upload the webchart.dll into Bin folder
    of my web server,it is showing the
    following error and my website is not running entirely.
    please sir help me out.
    waiting for your solution.

    with regards,

    Server Error in '/' Application.

    Required permissions cannot be acquired.
    Description: An unhandled exception occurred during the execution of
    the current web request. Please review the stack trace for more
    information about the error and where it originated in the code.

    Exception Details: System.Security.Policy.PolicyException: Required
    permissions cannot be acquired.


    Thursday, August 7, 2008 7:21 AM


  • User-1136466523 posted


    <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>

    From your description, it seems like a permission issue.

    <o:p> </o:p>

    Generally this exception occurs because your assembly is requesting permissions that the hosting environment cannot grant.

    <o:p> </o:p>

    For web hosting, most environments will be running in medium trust, so you should ensure you replicate a medium trust development environment.

    <o:p> </o:p>

    You also can try the following thread which may be helpful to you.

    <o:p> </o:p>


    <o:p> </o:p>



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 10, 2008 11:32 PM