Try our conversational search powered by Generative AI!

Commerce manager got the exception with message "Loading this assembly would produce a different grant set from other instances"

Vote:
 

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.

#199085
Nov 15, 2018 5:29
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.