Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • George 33 posts 66 karma points
    Oct 05, 2015 @ 10:13
    George
    0

    Our Host Doesn't Support MVC 5 in Latest LocalGov

    Hi all,

    We're getting problems with the latest version of LocalGov starter kit on a hosted environment (Umbraco 7.2.6). We get the following error message:

    Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.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)

    In the Views folder, the web.config uses MVC 5.2.3 (I believe our hosted site has MVC 4.0.0).

    I'm guessing I need to wind back to the last version of LocalGov that uses MVC 4? Anyone know what version that is?

    Thanks in advance

    George

  • George 33 posts 66 karma points
    Oct 05, 2015 @ 10:18
    George
    0

    There's nothing like answering your own question!

    LocalGov 5.0 uses MVC 4!

    Hope this helps someone with the same problem :-)

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Oct 05, 2015 @ 10:23
    Kevin Jump
    0

    Hi,

    you could try an older version of the starter kit. the latest on (v5.1) is built against umbraco 7.3 which is MVC5.

    However v5.0beta was build against 7.2.x so that might work. or failing that v4.0 should work fine.

    Kevin

  • Kevin Jump 2343 posts 14890 karma points MVP 8x c-trib
    Oct 05, 2015 @ 10:24
    Kevin Jump
    0

    yeah and nothing like not reading the answers to your questions : )

    as you say 5.0 is fine :)

Please Sign in or register to post replies

Write your reply to:

Draft