hi got error Assembly does not allow partially trusted callers in medium trust hosting SQL server 2005 we have mojoportal-2-3-1-3- version. Also we are using a simple DAL for Module .Let me now if this need to be change using the SqlHelper Classes in Mojoportal.
Error Detail
2009-10-01 12:17:40,487 ERROR mojoPortal.Web.mojoBasePage - 58.65.166.188-en-GB - /CashBatch.aspx
System.Security.SecurityException: That assembly does not allow partially trusted callers.
at ASP.crm_finance_cashbatch_ascx.__BuildControlph()
at ASP.crm_finance_cashbatch_ascx.__BuildControl__control2(Control __ctrl) in
at System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container)
at System.Web.UI.UpdatePanel.CreateContents()
at System.Web.UI.UpdatePanel.set_ContentTemplate(ITemplate value)
at ASP.crm_finance_cashbatch_ascx.FrameworkInitialize() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bfb0a04b\9402a131\App_Web_nx6rw7kt.0.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at mojoPortal.Web.UI.Pages.SiteHome.LoadPage()
at mojoPortal.Web.UI.Pages.SiteHome.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
App_Web_nx6rw7kt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The Zone of the assembly that failed was:
MyComputer
The Url of the assembly that failed was:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/bfb0a04b/9402a131/App_Web_nx6rw7kt.DLL