Copied to clipboard

Flag this post as spam?

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


  • bradley 13 posts 33 karma points
    Feb 15, 2012 @ 10:43
    bradley
    0

    Fresh install of CWS

    Hi

    I have a clean install of Umbraco 4.7.1.1.  I have tried to install CWS v.3.01.  I am able to install the package successfully without any errors.  However, when I try to view the site I get the following errors.

    This is the error that i get when I try to run a clean WebApplication project from Visual Studio 2010.

    Error loading Razor Script CdLoader.cshtml
    Method not found: 'Void System.Web.WebPages.WebPageBase.ExecutePageHierarchy(System.Web.WebPages.WebPageContext, System.IO.TextWriter)

    or this is the error I get when I try run it from a clean Umbraco Installation and setup of site through IIS7

    Error loading MacroEngine script (file: EmailAFriendLink.cshtml) Error loading MacroEngine script (file: SearchBox.cshtml)

    So, apparently something to do with Razor / macros and the engines that run them but I can't figure out what.

    Any ideas would be most useful.

    Regards

    Bradley

     

  • Jake 2 posts 22 karma points
    Feb 27, 2012 @ 18:31
    Jake
    0

    Having the same issue with a fresh install of umbraco and CWS from this morning. 

     

  • Jake 2 posts 22 karma points
    Feb 27, 2012 @ 19:42
    Jake
    0

    Made a little progress. Mysite is inside wwwroot/site. For some reason, some, but not all files, including all the macroscript files installted under wwwroot/site/site. I copied the folder and merged it with the parent directory (wwwroot/site) and the errors went away. The CSS still doesn't load though. Most likely references root in the files.  

    Anyways, something for you to check Bradley. Hope that helps.

  • bradley 13 posts 33 karma points
    Feb 28, 2012 @ 08:06
    bradley
    0

    Hi Jake

    Thanks for the ideas, I will have a look into that and post back....

    Bradley

     

     

  • Adam Marzi 7 posts 27 karma points
    Jul 22, 2012 @ 18:30
    Adam Marzi
    0

    Having the same issue here.  Every single page that was installed by CWS shows these "Error loading MacroEngine script" errors on the page.  I've now spent over 4 hours trying to get Umbraco to "work".  When do I actually get to start building a website?  

    Error loading MacroEngine script (file: CdLoader.cshtml)

    Error loading MacroEngine script (file: EmailAFriendLink.cshtml)

    Error loading MacroEngine script (file: SearchBox.cshtml)

    Error loading MacroEngine script (file: Navi.cshtml)

    Error loading MacroEngine script (file: NewsEventsSubNavi.cshtml)

  • Ajay 4 posts 24 karma points
    Jul 23, 2012 @ 18:28
    Ajay
    0

    Hi,

    I am getting the same problem. It would be good to get some feedback on this. Also, I have gone through the tutorial of CWS on the tv videos but I have differences from the end result of the macro lesson. Hence, the need to get the CWS package correctly working.

    Regards.

  • J 150 posts 489 karma points
    Jul 24, 2012 @ 17:10
    J
    0

    Hi everyone,

    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.

    Hope to have some time to fix this issues soon.

    Cheers,

    J

  • Adam Marzi 7 posts 27 karma points
    Jul 24, 2012 @ 17:39
    Adam Marzi
    0

    Is there anything we can do in the meantime?  I have spent several hours now trying to get Umbraco to run, and CWS seemed like the answer.  Is it possible to change the version of Umbraco or CWS that we're using?  

  • J 150 posts 489 karma points
    Jul 24, 2012 @ 17:51
    J
    0

    The package CWS 3.0.2 is compatible with Umbraco 4.7.1, 4.7.1.1 and 4.7.2. If you really need to get it to work asap, then I suggest you to use one of these umbraco versions. 

  • Adam Marzi 7 posts 27 karma points
    Jul 25, 2012 @ 03:17
    Adam Marzi
    0

    Thanks Jorge! 

  • Kurt Emch 44 posts 85 karma points
    Sep 17, 2012 @ 17:44
    Kurt Emch
    0

    Could you help me identify this problem? Not sure if it's related, but I'm getting the same message at the top and bottom of every page. All CSS appears to be missing. Using Umbraco 4.9.0 and CWS 3.0.1.

     Error loading MacroEngine script (file: CdLoader.cshtml) ­

  • J 150 posts 489 karma points
    Sep 17, 2012 @ 18:18
    J
    0

    Hi Kurt,

    I'm afraid the CdLoader won't work for the Umbraco version 4.9. You can fix this by editing your CWS_Master.master and replacing <umbraco:Macro Alias="CWS_CdLoader" CssPaths="Reset.css|Styles.css|Search.css|ie.css|ie6.css" IncludeDefaultPaths="true" runat="server" /> with:

    <link href="/css/Reset.css" type="text/css" />
    <link href="/css/Styles.css" type="text/css" />
    <link href="/css/Search.css" type="text/css" />
    <link href="/css/ie.css" type="text/css" />
    <link href="/css/ie6.css" type="text/css" />
    

    Also replace the <umbraco:Macro Alias="CWS_CdLoader" JsPaths="jquery.validate.js|jquery.validate.unobtrusive.js|script.js" IncludeDefaultPaths="true" runat="server" /> at the bottom of the page with:

    <script src="/scripts/jquery.validate.js" type="text/javascript"></script>
    <script src="/scripts/jquery.validate.unobtrusive.js" type="text/javascript"></script>
    <script src="/scripts/script.js" type="text/javascript"></script>
    

    Hope this helps,

    J

  • Kurt Emch 44 posts 85 karma points
    Sep 17, 2012 @ 19:03
    Kurt Emch
    0

    Thanks Jorge,

    That did remove the CdLoader error, but I am getting errors for all the rest of the <umbraco> macros in the master page now. (probably before too, just didn't notice it). The CSS and JS are now linked correctly in the page head and body, but aren't formatting the document (They aren't being pulled down from the network). Are the macros not supported at all in 4.9.0? 

    Still getting a handle on how Umbraco works unfortunately. CWS was suggested as a learning tool.

Please Sign in or register to post replies

Write your reply to:

Draft