System.Web.AspNetHostingPermission failure

2 posts, 0 answers
  1. Peter Sitero
    Peter Sitero avatar
    15 posts
    Member since:
    Oct 2009

    Posted 15 Oct 2009 Link to this post

    My company bought the RadControls for asp.net and the first time I have tried to use any of the controls after a uneventful and successful install I get this error:
    Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Z:\ClosingApp\Default.aspx 14 
    What is causing this error?
  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 16 Oct 2009 Link to this post

    Hello,

    I assume that Z: drive is a mapped network share, is that correct? The .NET Code Access Security (CAS) disallows executing code from the intranet zone by default. You should either move the application to a local drive or modify the CAS policy.

    Refer to this KB for more information:
    http://support.microsoft.com/kb/948034

    Best wishes,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top