Server Error in '/' 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 3:  <div class="selectvariant">
Line 4:      <asp:Image ID="Image1" runat="server" ImageUrl="~/images/carreviewsrh-btn1.gif" />
Line 5:      <gaia:DropDownList ID="ddlManufacturer" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlManufacturer_SelectedIndexChanged" AppendDataBoundItems="True" CssClass="variant-menudd"><asp:ListItem Value="-1" Text=" Select car make" /></gaia:DropDownList>
Line 6:      <gaia:DropDownList ID="ddlModel" runat="server" AppendDataBoundItems="True" CssClass="variant-menudd"></gaia:DropDownList>
Line 7:      <asp:ImageButton ID="ibtGo" runat="server" CssClass="variant-gobtn" ImageUrl="~/images/go_btn.gif" OnClick="ibtGo_Click" />

Source File: d:\inetpub\vhosts\whatcarindia.com\httpdocs\controls\ReviewSearch.ascx    Line: 5

Stack Trace:


[SecurityException: That assembly does not allow partially trusted callers.]
   ASP.controls_reviewsearch_ascx.__BuildControlddlManufacturer() in d:\inetpub\vhosts\whatcarindia.com\httpdocs\controls\ReviewSearch.ascx:5
   ASP.controls_reviewsearch_ascx.__BuildControlTree(controls_reviewsearch_ascx __ctrl) in d:\inetpub\vhosts\whatcarindia.com\httpdocs\controls\ReviewSearch.ascx:1
   ASP.controls_reviewsearch_ascx.FrameworkInitialize() in App_Web_gwqxrfnj.10.cs:0
   System.Web.UI.UserControl.InitializeAsUserControlInternal() +37
   System.Web.UI.UserControl.InitializeAsUserControl(Page page) +21
   ASP.fullverdict_aspx.__BuildControlrsFullverdict() in d:\inetpub\vhosts\whatcarindia.com\httpdocs\fullverdict.aspx:252
   ASP.fullverdict_aspx.__BuildControlform1() in d:\inetpub\vhosts\whatcarindia.com\httpdocs\fullverdict.aspx:26
   ASP.fullverdict_aspx.__BuildControlTree(fullverdict_aspx __ctrl) in d:\inetpub\vhosts\whatcarindia.com\httpdocs\fullverdict.aspx:1
   ASP.fullverdict_aspx.FrameworkInitialize() in App_Web_fullverdict.aspx.cdcab7d2.zgv9onxk.0.cs:0
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +48
   System.Web.UI.Page.ProcessRequest() +76
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +24
   System.Web.UI.Page.ProcessRequest(HttpContext context) +62
   ASP.fullverdict_aspx.ProcessRequest(HttpContext context) in App_Web_fullverdict.aspx.cdcab7d2.zgv9onxk.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0