Dimitrisv
2017-07-22T18:40:12Z
Following the update no page works in the front site... we are receiving errors similar to this:

Error: Product Viewer is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Hotcakes.Commerce.Dnn.Mvc.MvcRenderingEngine.Render(String controllerName, String actionName, String viewName, Object routeValues) at Hotcakes.Modules.ProductViewer.ProductViewerView.RenderView() at Hotcakes.Commerce.Dnn.Web.HotcakesModuleBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Error: Search Input is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Hotcakes.Commerce.Dnn.Mvc.MvcRenderingEngine.Render(String controllerName, String actionName, String viewName, Object routeValues) at Hotcakes.Modules.Search.SearchView.RenderView() at Hotcakes.Commerce.Dnn.Web.HotcakesModuleBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Error: Search Results is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ---> System.IO.FileLoadException: Could not load file or assembly 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Hotcakes.Commerce.Dnn.Mvc.MvcRenderingEngine.Render(String controllerName, String actionName, String viewName, Object routeValues) at Hotcakes.Modules.Search.SearchView.RenderView() at Hotcakes.Commerce.Dnn.Web.HotcakesModuleBase.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Our version of hotcakes is (1.10.04)?
Adrian
  •  Adrian
  • 89.5% (Honored)
  • Advanced Member
2017-07-23T03:37:00Z
You might want to double check a few things.


  • Backup before you start
  • Make sure you have ASP.NET framework 4.5 installed.
  • Verify you have the updated MVC dll in your /bin
  • Make sure your root web.config contains updated references to System.Web.Mvc 4.0
  • Make sure website\Portals\_default\HotcakesViews\_default\web.config also has updated references to System.Web.Mvc 4.0 (Note: There are several on this one)


Perform the same to your custom views if your arent using the _default.
You can compare to the current files here:
https://github.com/Hotca...iews/_default/Web.config 
https://github.com/Hotca...s/Dnn/System.Web.Mvc.dll 

Hope this helps!
Adrian
MooreCreative
2020-03-11T21:57:30Z
Just to connect the two forum topics together, the System.Web.MVC and version issues is described here in regards to upgrade of DNN and newer Hotcakes 3x version issues:
https://mmmcommerce.com/...-into-upgraded-DNN-8-0-4 
Loading
  • Sign-up for the Hotcakes Community Newsletter: