title: Assembly does not allow partially trusted caller
body: <p>How do I change my library to allow partially trusted callers? </p>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Server Error in '/' Application.</p>
    
    <p>Security Exception</p>
    
    <p>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.</p>
    
    <p>Exception Details:
    System.Security.SecurityException:
    That assembly does not allow partially
    trusted callers.</p>
    
    <p>Source Error: [No relevant source
    lines]</p>
    
    <p>Source File: App_Web_kzj7vfkn.2.cs<br>
    Line: 0</p>
  </blockquote>
  
  <h2>Edit</h2>
  
  <p>After some more looking at the problem it seems like it's System.Web.UI.ClientScriptManager that causes the problem</p>