Copied to clipboard

Flag this post as spam?

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


  • Melissa Snell 14 posts 34 karma points
    Jul 18, 2012 @ 12:53
    Melissa Snell
    0

    Error loading Razor Script 'umbraco.MacroEngines.DynamicNodeList' does not contain a definition for <whatever>

    I have umbraco 4.7.1.1 installed with a few additional modules, including Contour and uWebshop. We have also at various times installed (and then uninstalled) Darren Ferguson's workflow project, uBlogsy and Courier.

    I have searched the above error and foudn various posts relating to it (this one for example: http://our.umbraco.org/forum/developers/razor/22220-Extension-Methods-not-working) , which seem to imply that it could be either the presence of specific DLLs (e.g. Microsoft.Scripting) or that one of the core files might have been overwritten by the installation of a module.

    This is causing a lot of extra work because you need to work around it the whole time.

    For example the standard Inline macro for pagination that ships with Umbraco does not work at this bit:

    @foreach(var item in pagesToList.Skip(currentPage*itemsPerPage).Take(itemsPerPage))

    where 

    var pagesToList = @Model.Children;

    Has anyone been able to pin point yet exactly which DLL is the cause? If so does anyone know what version of the DLL to replace with and where can I get it from?

    Any ideas would be gratefully recieved!

     

Please Sign in or register to post replies

Write your reply to:

Draft