Looks like you either have a mismatch in your Web.config Assembly Redirects, or you may have an "old" assembly floating around in your /bin directory. Something seems to be looking for version 22.214.171.124 of Structuremap, which you do not have due to the use of EPiServer.ServiceLocation.StructureMap.126.96.36.199.
I would try and.. :
Let us hear if any of those suggestions helped.
/Casper Aagaard Rasmussen
I hade the same problem, but the solution was not 1) or 2).
My problem was that my StructureMap-reference had a path to "..\packages\structuremap.web-signed.188.8.131.52\lib\net40\StructureMap.Web.dll"
I removed reference and added a new one to "..\packages\structuremap.web.184.108.40.2065\lib\net40\StructureMap.Web.dll"
I had the same as above and in my case it was the Chief2moro.ImageDataExtensions nuget causing the issue. So aslo needed to change the reference manually for that since it had a dependency to the signed version of structuremap.web.
waiting for a day when we will not need to handle these kind of trivial toolng errors.. ;)
Im to old for this!
My problem was same as empa, Reference to signed dll...
I am installing the latest verssion of episerver cms and commerce and I am having the following error:
Could not load file or assembly 'StructureMap.Web, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'StructureMap.Web, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
We have the Epuserver.ServiceLocation.StructureMap v2.0.0 installed and also StructureMap V4.5.3 and structuremap.web v22.214.171.1245.
Does anyone had this problem before?
Thanks in advance