"Could not load file or assembly 'Stimulsoft.Report.Web'" Error printing orders on Sitecore 7.5

Follow

Description

If you are attempting to print an order from the Order Manager in Sitecore 7.5 when utilizing Active Commerce 3.2, you may receive the following error:

[FileLoadException: Could not load file or assembly 'Stimulsoft.Report.Web, Version=2009.3.600.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
Sitecore.Ecommerce.Apps.Web.UI.WebControls.PrintOrder.CreateChildControls() +0
System.Web.UI.Control.EnsureChildControls() +189
System.Web.UI.WebControls.CompositeControl.get_Controls() +24
Sitecore.Layouts.Expander.Expand(Control control) +220
Sitecore.Nexus.Web.NexusPlaceholderApi.��(Placeholder ��) +606
Sitecore.Nexus.Web.NexusPlaceholderApi.CreateChildControls(Placeholder placeholder) +487
System.Web.UI.Control.EnsureChildControls() +189
Sitecore.Layouts.Expander.Expand(Control control) +69
Sitecore.Layouts.Expander.Expand(Control control) +290
Sitecore.Layouts.Expander.Expand(Control control) +290
Sitecore.Layouts.PageContext.Build() +48
(Object , Object[] ) +83
Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs e) +178
System.Web.UI.Page.PerformPreInit() +49
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1844

Solution

Add the following to the <assemblyBinding> section of your Web.config:

<dependentAssembly>
  <assemblyIdentity name="Stimulsoft.Report.Web" publicKeyToken="ebe6666cba19647a" xmlns="urn:schemas-microsoft-com:asm.v1" />
  <bindingRedirect oldVersion="1.0.0.0-2013.1.1600.0" newVersion="2013.1.1600.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
</dependentAssembly>
<dependentAssembly>
  <assemblyIdentity name="Stimulsoft.Base" publicKeyToken="ebe6666cba19647a" xmlns="urn:schemas-microsoft-com:asm.v1" />
  <bindingRedirect oldVersion="1.0.0.0-2013.1.1600.0" newVersion="2013.1.1600.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
</dependentAssembly>
<dependentAssembly>
  <assemblyIdentity name="Stimulsoft.Report" publicKeyToken="ebe6666cba19647a" xmlns="urn:schemas-microsoft-com:asm.v1" />
  <bindingRedirect oldVersion="1.0.0.0-2013.1.1600.0" newVersion="2013.1.1600.0" xmlns="urn:schemas-microsoft-com:asm.v1" />
</dependentAssembly>
Have more questions? Submit a request

Comments