FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

System.Security.SecurityException: That assembly does not allow partially trusted callers.

Last post 09-01-2008, 1:42 AM by kul.shweta. 0 replies.
Sort Posts: Previous Next
  •  09-01-2008, 1:42 AM 9409

    System.Security.SecurityException: That assembly does not allow partially trusted callers.

    Hi all

    I am using freetextbox. its working fine in dev. envronment but not worjking in app. development.  it is giving following error on line.

    Server Error in '/crm/RealCRM' Application.

    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: That assembly does not allow partially trusted callers.

    Source Error:

    Line 79:               
    Line 80:          </FTB:FreeTextBox> --%>
    Line 81:     <FTB:FreeTextBox id="FreeTextBox1"    
    Line 82:                  runat="Server" Width="95%"   EnableHtmlMode="False" >
    Line 83:  <TOOLBARS>

    Source File: D:\Domains\sakshamerp.com\wwwroot\crm\realcrm\letterMaster.aspx    Line: 81

    Stack Trace:

    [SecurityException: That assembly does not allow partially trusted callers.]
       ASP.lettermaster_aspx.__BuildControlFreeTextBox1() in D:\Domains\sakshamerp.com\wwwroot\crm\realcrm\letterMaster.aspx:81
       ASP.lettermaster_aspx.__BuildControl__control5(Control __ctrl) in D:\Domains\sakshamerp.com\wwwroot\crm\realcrm\letterMaster.aspx:41
       System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
       System.Web.UI.UpdatePanel.CreateContents(Boolean recreate) +140
       System.Web.UI.UpdatePanel.OnInit(EventArgs e) +34
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Control.InitRecursive(Control namingContainer) +198
       System.Web.UI.Control.InitRecursive(Control namingContainer) +198
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
       System.Web.UI.Page.ProcessRequest() +86
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.lettermaster_aspx.ProcessRequest(HttpContext context) +29
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

     

    what should i do for this. please help

View as RSS news feed in XML
www.freetextbox.com