AspNetHostingPermission error

3 posts, 1 answers
  1. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 22 Apr 2009 Link to this post

    Can anyone help me with this error I'm getting when I try to build a site?

    Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    It's occurring on multiple lines, but here's one of them...

    <telerik:radscriptmanager runat="server" />

    And

    <telerik:radtoolbar runat="server" Skin="WebBlue">

    Basically wherever a Telerik control is referenced.

    After doing some research it seems like it might have something to do with the fact that I'm working off of a shared drive on a server.  But my research didn't find ways to fix the issue.  I also tried putting <trust level="Full"/> in my web.config file, but that's not helping either.

    Anyone have any suggestions?



  2. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 23 Apr 2009 Link to this post

    Hi Matt,

    Please check this forum thread for more information / solution.

    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 23 Apr 2009 Link to this post

    It works!  Thanks for the great support!
Back to Top