Copied to clipboard

Flag this post as spam?

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

  • Drew Garratt 44 posts 192 karma points
    Jul 23, 2012 @ 16:42
    Drew Garratt

    CWS Umbraco 4.8 Install

    Hi everyone,

    I'm just getting back into Umbraco after a years absence and CWS seemed like a good place to start with Razor.
    I'd succesfully installed and played with the package but today I thought I'd give 4.8 a whirl.

    Seems CWS and 4.8 are not best of friends. A DebugShowTrace shows errors on most of the Macro's.

    Now it could well be me having broken my 4.8 installation during installation but I just wondered if anyone else had tried this yet?

    Take a quick look at the following errors.

    Error for Razor Page Title

    Error Loading Razor Script (file: [Razor] Page Title) 'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'First'    at CallSite.Target(Closure , CallSite , Object )
      at ASP._Page_macroScripts_PageTitle_cshtml.Execute() in e:\hostingspaces\drewandj\\wwwroot\macroScripts\PageTitle.cshtml:line 4
      at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
      at System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors)
      at System.Web.WebPages.WebPage.ExecutePageHierarchy()
      at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
      at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage)
      at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)


    Error loading MacroEngine script (file: PageTitle.cshtml, Type: ''
    'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for 'First'
      at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)

  • Jorge Lusar 150 posts 489 karma points
    Jul 24, 2012 @ 17:10
    Jorge Lusar

    Hi Drew,

    There have been certain changes in Umbraco 4.8 such as the ClientDependency library which makes the current package 3.0.2 incompatible with it.

    Now, the problem with umbraco.MacroEngines.DynamicNodeList seems to be unrelated to this issue. If you disable the CdLoader, are you still having the same problems? Are you running on IIS or IISExpress? Classic or Integrated mode?



  • Drew Garratt 44 posts 192 karma points
    Jul 25, 2012 @ 11:22
    Drew Garratt

    Hi Jorge,

    Thanks for the heads up on the CleintDependency Library. To be honest I think I managed to fail at my upgrade attempt rather badly hence the interesting variety of my error messages. I think I'll stick with 4.7.2 until the Web Platform Gallery version gets updated or installing to this paticular webhost is going to be a dodgey at best.

    Thanks once again =)

Please Sign in or register to post replies

Write your reply to: