Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I don't think this is episerver specific, did you look into https://social.technet.microsoft.com/Forums/en-US/5db05238-3c12-4e7e-af95-ca56545f0721/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances ?
Hi guys, when I create new payment method on Commerce Manager, I got the exception :
Commerce manager got the exception with message "Loading this assembly would produce a different grant set from other instances"
[FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)] System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName) +0 Mediachase.Web.Console.Common.LocalLoader..ctor(String pluginDirectory) +569 Mediachase.Web.Console.Common.ReflectionHelper.GetClassesBasedOnTypeInSiteDir(Type assemblyType, String path) +113 Mediachase.Commerce.Manager.Order.Payments.Tabs.PaymentMethodEditBaseTab.BindClassNames() +254 Mediachase.Commerce.Manager.Order.Payments.Tabs.PaymentMethodEditBaseTab.BindForm() +49 Mediachase.Commerce.Manager.Order.Payments.Tabs.PaymentMethodEditBaseTab.Page_Load(Object sender, EventArgs e) +43 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +154 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Control.LoadRecursive() +251 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Do you have any solution to fix it? (I just got that exception on my server, it doesnt appear on my local)
I'm using ecomerce 12.10.0.
Thanks.