Home Articles Packages Things

2019

Episerver errors

While loading .NET types from "Mediachase.Commerce.Marketing.Validators" the following error(s) was reported:

System.TypeLoadException: Could not load type 'Mediachase.Commerce.Marketing.IPromotionEntryPopulate' from assembly 'Mediachase.Commerce, Version=13.5.0.0, Culture=neutral, PublicKeyToken=6e58b501b34abce3'.
System.TypeLoadException: Could not load type 'Mediachase.Commerce.Marketing.IExpressionValidator' from assembly 'Mediachase.Commerce, Version=13.5.0.0, Culture=neutral, PublicKeyToken=6e58b501b34abce3'.
System.TypeLoadException: Could not load type 'Mediachase.Commerce.Marketing.IExpressionValidator' from assembly 'Mediachase.Commerce, Version=13.5.0.0, Culture=neutral, PublicKeyToken=6e58b501b34abce3'.

Mediachase.Commerce.Marketing.Validators.dll has been removed in Commerce 13. If this error occurs, the file itself is still in the bin folder. Delete the file by hand to fix this error.

If this happens on an Azure hosted environment, republish with "Remove additional files at destination" option checked in the publish profile.

visualstudio_removefiles.png