Hi Antonio.
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 1.0.0.0 of Structuremap, which you do not have due to the use of EPiServer.ServiceLocation.StructureMap.2.0.0.0.
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.3.1.6.191\lib\net40\StructureMap.Web.dll"
I removed reference and added a new one to "..\packages\structuremap.web.4.0.0.315\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...
Hi,
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=1.0.0.0, 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=1.0.0.0, 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 v4.0.0.315.
Does anyone had this problem before?
Thanks in advance
Antonio