Copied to clipboard

Flag this post as spam?

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


  • Søren Kottal 713 posts 4571 karma points MVP 6x c-trib
    Dec 22, 2014 @ 22:19
    Søren Kottal
    0

    Not working in 7.2

    I get this error message when trying to access /pagename/inspect.

    Compiler Error Message: CS1705: Assembly 'InspectForUmbraco, Version=1.0.1.4, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    Anyone know a fix?

  • Kenn Jacobsen 133 posts 791 karma points MVP 4x c-trib
    Dec 23, 2014 @ 08:05
    Kenn Jacobsen
    2

    Ah.... it's not a 7.2 thing, it's your .Net framework. You should update it :) back in October, MS released a security update, which - among other things - bumped the version number of System.Web.Mvc.

    Check http://stackoverflow.com/questions/26396489/system-web-mvc-not-functioning-as-expected-after-windows-update or simply google "System.Web.Mvc, Version=4.0.0.1" and you'll get more than a few hits on people that had the same issue.

    -Kenn

  • Søren Kottal 713 posts 4571 karma points MVP 6x c-trib
    Dec 23, 2014 @ 21:34
    Søren Kottal
    100

    Ok :)

     

    It's a "non-VS" installation on Unoeuro.com, so I don't have access til the .net framework. Thought there was a bad reference in the package. But I will get it into VS, and update references.

     

    Thanks for your answer!

  • Jan Borup Coyle 7 posts 32 karma points
    Jul 17, 2015 @ 08:35
    Jan Borup Coyle
    1

    A lillte trick from @Per Ploug

    Edit your Web.Config and change this.:

      <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.1" />
      </dependentAssembly>
    

    Chears

  • Sebastian Dammark 583 posts 1407 karma points
    Sep 17, 2015 @ 11:32
    Sebastian Dammark
    0

    This doesn't work if you're running the website as an azure web app.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies