Copied to clipboard

Flag this post as spam?

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


  • Kyle Skrinak 272 posts 327 karma points
    May 20, 2011 @ 18:51
    Kyle Skrinak
    0

    4.6.1 -> 4.7 upgrade breaks xslts

    My xslts have falled and can't get up!

    I did a 4.6.1 -> 4.7 upgrade by doing the following

    • Copy the contents of /bin, /umbraco and /umbraco_client from the 4.7 u folder to my existing umbraco folder (I guess that's a patch upgrade?) Note that this kept any files there that were not overwritten by the 4.7 folders
    • updated the web.config as recommended by the 4.7 upgrade instructions
    • Deleted files as advised (Iron Python/MS Scripting stuff)

    and I get the following error (but on all xslt files)
    Error parsing XSLT file: \xslt\RunwayDropdownNavigation.xslt

    I am seeing this error in the debug trace:
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Scripting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    The only error VS reports is the "Error 11 Could not load type 'umbraco.presentation.install.steps.boost'. C:\Users\Administrator\Documents\MyWebSites\extra-fancy-4-7\install\steps\boost.ascx"

    Where to start?

  • Kyle Skrinak 272 posts 327 karma points
    May 20, 2011 @ 18:58
    Kyle Skrinak
    0

    Yes, "falled" should be "fallen" only my attempts to correct this via "edit" render this error here: Error parsing XSLT file: \xslt\forum-commentsList.xslt; ironically enough.

  • Lesley 284 posts 143 karma points
    May 21, 2011 @ 00:27
    Lesley
    1

    Hi Kyle,

    I recently did the same upgrade path and had the same error. I found there was another DLL that needed to be deleted: Microsoft.Dynamic.dll

    (See http://our.umbraco.org/forum/getting-started/installing-umbraco/13014-MicrosoftScriptingExtensionAttribute-missing)

    Any help? If still no good, I'd suggest doing a side-by-side comparison of the files in your bin folder and those in the 4.7 release. 

  • Kyle Skrinak 272 posts 327 karma points
    May 21, 2011 @ 13:16
    Kyle Skrinak
    0

    Lesley; I removed Microsoft.Dynamic.dll but I still have unrendered xslt macros. Following along, here's my /bin differences:

    files in /bin for 4.6.1 has that 4.7 doesn't have:

    IronPython.dll
    IronPython.Modules.dll
    IronRuby.dll
    IronRuby.Libraries.dll
    IronRuby.Libraries.Yaml.dll
    Microsoft.Dynamic.dll
    Microsoft.Scripting.dll

    What 4.7 has that 4.6.1 doesn't have:

    System.Web.Helpers.dll
    System.Web.WebPages.Deployment.dll
    System.Web.WebPages.dll
    System.Web.WebPages.Razor.dll
    Microsoft.Web.Helpers.dll
    Microsoft.Web.Infrastructure.dll

  • Lesley 284 posts 143 karma points
    May 21, 2011 @ 18:55
    Lesley
    1

    Kyle,

    It looks like you don't have any custom DLLs there, so how about you delete (after backing up) your /bin folder as it stands, and then put the /bin from the 4.7 download in its place? Then you can be sure the whole folder is 4.7 -ready.

  • Kyle Skrinak 272 posts 327 karma points
    May 21, 2011 @ 19:22
    Kyle Skrinak
    0

    I tried that once already, but it didn't work (also knowing it would break something else)

    For clarity's sake, here's what's in my 4.7 folder that's not in the 4.7 distro (i.e., custom binaries)

    CultivContactForm.dll
    Examine.xml
    InfoCaster.Umbraco._301UrlTracker.dll
    Microsoft.Scripting.Debugging.dll
    Nibble.Umb.ZipUpload.dll
    Our.Umbraco.Tree.Config.dll
    Our.Umbraco.uDbCompare.dll
    PackageActionsContrib.dll
    RazorEngine.Core.dll
    RazorEngine.Templates.dll
    Recaptcha.dll
    Runway.Blog.dll
    TheOutfield.UmbExt.UnVersion.dll
    umbraco.MacroEngines.Legacy.dll
    UmbracoExamine.xml

  • Lesley 284 posts 143 karma points
    May 21, 2011 @ 19:37
    Lesley
    1

    Oh - the upgrade instructions say to delete RazorEngine too?!

    If it's not that, then I'm running out of ideas I'm afraid :-s

  • Kyle Skrinak 272 posts 327 karma points
    May 23, 2011 @ 00:04
    Kyle Skrinak
    0

    Yep, removed (again; as I've restored/recopied) the RazorEngine.Core.dll and RazorEngine.Templates.dll files. Same issue, unrendered xslts.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    May 23, 2011 @ 00:41
    Tom Fulton
    2

    Hi Kyle,

    I believe you should remove Microsoft.Scripting.Debugging.dll and umbraco.MacroEngines.Legacy.dll

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    May 23, 2011 @ 07:46
  • Kyle Skrinak 272 posts 327 karma points
    May 23, 2011 @ 14:15
    Kyle Skrinak
    0

    Well, Tom gets the credit but it really was everyone's help; (especially Lesley) xslts are now rendering as they ought.

    Much thanks!

Please Sign in or register to post replies

Write your reply to:

Draft