Copied to clipboard

Flag this post as spam?

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


  • sun 403 posts 395 karma points
    Feb 15, 2011 @ 09:06
    sun
    0

    Why 3.0 need to install mvc? I think this is a bug.

    I think this is a bug.

  • Jan Skovgaard 11258 posts 23498 karma points MVP 7x admin c-trib
    Feb 15, 2011 @ 09:20
    Jan Skovgaard
    0

    Hi Sun

    Could you perhaps make a bit more thorough explanation of this error? When does it say you need MVC 3 to install it?

    /Jan

     

  • sun 403 posts 395 karma points
    Feb 15, 2011 @ 09:28
  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Feb 15, 2011 @ 10:04
    Douglas Robar
    0

    Hi, Sun,

    I agree it is unfortunate but it isn't really an XSLTsearch issue. It has to do with the way Umbraco 4.6 implements the app_code xslt extension handler. Hopefully it will be resolved in a future release of umbraco.

    Until then, you can either update the web.config (no mvc needed) or you can install mvc or you can copy the appropriate dll as described in the forum thread you referenced above. 

    cheers,
    doug.

  • Claushingebjerg 882 posts 2370 karma points
    Feb 21, 2011 @ 14:31
    Claushingebjerg
    0

    What exactly needs to be changed in web.config to run without mvc?

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Feb 21, 2011 @ 14:35
    Douglas Robar
    1

    This core Umbraco issue will be resolved with Umbraco 4.6.2. 

    Until then you can copy the System.Web.Mvc.dll from an MVC download directly to the /bin folder.

     

    This may also help if you don't have MVC 3 installed:

    <configuration>
     <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>

     

    cheers,
    doug.

  • Claushingebjerg 882 posts 2370 karma points
    Feb 21, 2011 @ 14:48
    Claushingebjerg
    0

    hmmm, tried the above change to web.config.

    Still getting "Error parsing XSLT file: \xslt\XSLTsearch.xslt" though.

    Could someone upload the System.Web.Mvc.dll somewhere for us mac folks to download?

  • Claushingebjerg 882 posts 2370 karma points
    Feb 21, 2011 @ 21:18
    Claushingebjerg
    2

    Ok, so i found this file

    http://code.google.com/p/nhaml/source/browse/trunk/lib/MVC2.0/System.Web.Mvc.dll?r=439

    downloaded it, and copied it to the bin directory, and search now works

     

  • Douglas Robar 3570 posts 4671 karma points MVP 6x admin c-trib
    Feb 22, 2011 @ 09:44
    Douglas Robar
    0

    Thanks for sharing that link!

    When Umbraco 4.6.2 is released there won't be a need for the mvc dll.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft