Copied to clipboard

Flag this post as spam?

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


  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 25, 2011 @ 11:27
    Sebastiaan Janssen
    0

    Umbraco 4.7 requires MVC2?

    I've just deployed a 4.7 beta site to a server without MVC2 installed and I had to copy the System.Web.Mvc.dll from MVC2 in the bin folder to get it to work. Is this a dll that should be included in the build?

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Feb 25, 2011 @ 11:29
    Stefan Kip
    0

    Well, I had to install MVC3 to get 4.7 running. I think it's because of the new Razor features, I was missing 'Microsoft.Web.Infrastructure.dll'

  • Arnold Visser 418 posts 778 karma points hq c-trib
    Feb 25, 2011 @ 11:31
  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 25, 2011 @ 12:03
    Sebastiaan Janssen
    0

    Thanks guys, that's a different dll. Weirdly, I hadn't installed webmatrix and I haven't copied the infrastructure dll to my bin either, seems to be working fine without that one..

    Edit: Ah yes, I do have the infrastructure dll, I need new contact lenses ;-)

  • E.J. Brennan 73 posts 114 karma points
    Feb 25, 2011 @ 19:05
    E.J. Brennan
    0

    I also had to find a copy of the Web.Infrastructure dll when installing 4.7 on IIS7.5, once I dropped it in the bin directory it worked fine (so you don't need a full install of MVC3 if you can locate that file on another machine, just copy it over (licensing issues,if any, aside). 

  • Christer Josefsson 55 posts 93 karma points
    Feb 25, 2011 @ 19:58
    Christer Josefsson
    0

    This information can be found on the download page at codeplex (http://umbraco.codeplex.com/releases/view/59502) under "Known issues"

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 25, 2011 @ 20:45
    Sebastiaan Janssen
    0

    I know all this. I'm just saying that I needed to copy the System.Web.Mvc Version 2 dll into my bin and then the site started working. I'd already copied the infrastructure dll.

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Feb 27, 2011 @ 12:33
    Niels Hartvig
    0

    What errors did you get before you deployed the mvc assemblies?

  • Sebastiaan Janssen 5060 posts 15522 karma points MVP admin hq
    Feb 27, 2011 @ 12:40
    Sebastiaan Janssen
    0

    Alright, removed the dll again and I can't reproduce. I must've done something else as well as add the mvc dll's. So no problem, forget about it!

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Feb 27, 2011 @ 12:45
    Niels Hartvig
    0

    Hurray :-)

Please Sign in or register to post replies

Write your reply to:

Draft