Server Error in '/business' 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 117:        </asp:UpdatePanel>
Line 118:         <label></label>
Line 119:        <recaptcha:RecaptchaControl
Line 120:        ID="recaptcha"
Line 121:        runat="server"

Source File: c:\Inetpub\vhosts\mnation.co\httpdocs\business\ContactUs.aspx    Line: 119

Stack Trace:


[SecurityException: That assembly does not allow partially trusted callers.]
   ASP.contactus_aspx.__BuildControlrecaptcha() in c:\Inetpub\vhosts\mnation.co\httpdocs\business\ContactUs.aspx:119
   ASP.contactus_aspx.__BuildControlform1() in c:\Inetpub\vhosts\mnation.co\httpdocs\business\ContactUs.aspx:29
   ASP.contactus_aspx.__BuildControlTree(contactus_aspx __ctrl) in c:\Inetpub\vhosts\mnation.co\httpdocs\business\ContactUs.aspx:1
   ASP.contactus_aspx.FrameworkInitialize() in c:\Inetpub\vhosts\mnation.co\tmp\business\e02bf2e4\affac16c\App_Web_5ht3arlt.8.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +56
   System.Web.UI.Page.ProcessRequest() +80
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.contactus_aspx.ProcessRequest(HttpContext context) in c:\Inetpub\vhosts\mnation.co\tmp\business\e02bf2e4\affac16c\App_Web_5ht3arlt.8.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975