Trying to install a site locally from a git repo with a current database backup from the live site.
Umbraco version is 4.11.5.
Created new database, restored it from the BAK file. Pointed new IIS site to the webroot. Put in my local connectionstring. All good.
Done this hundreds of times and haven't seen this error before. Fired up the site in the browser and:
Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, 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)
Been Googling all morning and haven't found a solution that works for me.
Things I have tried include merging the originally canned web.config with the one I pulled down from Git, and copying over the original System.Web.*.dll's but to no avail - the error persists. Here is my assemblies section of web.config:
Again, though - this is exactly the same as the canned web.config that comes with Umbraco 4.11.5.
I have several other Umbraco sites running on this machine, all with varying versions of Umbraco, and don't have this error anywhere else. Is this some IIS configuration or something? I am out of ideas.
Some Sort of MVC Version Mismatch?
Trying to install a site locally from a git repo with a current database backup from the live site.
Umbraco version is 4.11.5.
Created new database, restored it from the BAK file. Pointed new IIS site to the webroot. Put in my local connectionstring. All good.
Done this hundreds of times and haven't seen this error before. Fired up the site in the browser and:
Been Googling all morning and haven't found a solution that works for me.
Things I have tried include merging the originally canned web.config with the one I pulled down from Git, and copying over the original System.Web.*.dll's but to no avail - the error persists. Here is my assemblies section of web.config:
Again, though - this is exactly the same as the canned web.config that comes with Umbraco 4.11.5.
I have several other Umbraco sites running on this machine, all with varying versions of Umbraco, and don't have this error anywhere else. Is this some IIS configuration or something? I am out of ideas.
Thanks,
Garrett
is working on a reply...