Copied to clipboard

Flag this post as spam?

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


  • Jamie Attwood 208 posts 504 karma points c-trib
    Dec 20, 2013 @ 18:03
    Jamie Attwood
    0

    Error loading MacroEngine script (file: MvcRenderContourForm.cshtml)

    Contour is a great product when you can install it. I keep buying contour but I have install issues EVERY TIME. PLEASE spend more time on the install and compatability notes - based on my experience, a blanket statement like x version is compatible with 4.x - 6,x is just not true. Its a great product, but needs a lot more QA on the install. Constructive feedback. My latest problems.

    1)

    Umbraco 6.1.6 > Installed Contour 3.0.18 > Install crashes with YSOD:

    Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

    Uninstalled. Uninsaller does not remove all assemblies from web.config.> YSOD entire website. Manually cleaned web.config to restore site.

    2) Installed 3.0.16 with exact same results as above.

    3) Installed 3.0.14 install suceeds. BUT when I add a contour razor version of contour form I now get:

    Error loading MacroEngine script (file: MvcRenderContourForm.cshtml)

    What to do??

  • Kieron McIntyre 117 posts 360 karma points
    Dec 20, 2013 @ 20:30
    Kieron McIntyre
    0

    I'm having exactly the same issue right now.

    The reason the MvcRenderContourForm.cshtml is failing is because the guid isn't being pass through as a Parameter for some reason. If I remove the @Html.RenderMvcAction() call and replace it with just rendering out the FormID, there's nothing there.

    @inherits umbraco.MacroEngines.DynamicNodeContext
    @using Umbraco.Forms.Mvc.Bridge.Html;
    @{
        string action = "ContourForm";
        string controller = "FormRender";
        string formtoken = "UmbracoContourForm";
        string formGuid = Parameter.FormGuid;
    
    
    }
    
    @formGuid 
    

    This should display the formID but it doesn't.

  • Kieron McIntyre 117 posts 360 karma points
    Dec 20, 2013 @ 20:33
    Kieron McIntyre
    0

    Shit. See here: http://stackoverflow.com/questions/13748055/could-not-load-type-system-runtime-compilerservices-extensionattribute-from-as

    Looks like Contour 3.0.18 may have been compiled against .Net 4.5.

  • Jamie Attwood 208 posts 504 karma points c-trib
    Dec 20, 2013 @ 20:43
    Jamie Attwood
    0

    Yes I found out that much too. I am not about to risk all my production sites buy upgrading to 4.5 without a lot of testing. All this should be clear in the release notes - which it is not...this of course does not help us much...:)

  • Kieron McIntyre 117 posts 360 karma points
    Dec 20, 2013 @ 21:12
    Kieron McIntyre
    0

    See this conversation with @timgeyssens https://twitter.com/timgeyssens/status/414125725848178688

    Essentially downgrade to 3.0.17 using this update: http://our.umbraco.org/FileDownload?id=9161

  • Comment author was deleted

    Dec 21, 2013 @ 18:13

    Ok so it's working now?

  • Comment author was deleted

    Dec 21, 2013 @ 18:14

    Think it would alos work if you remove the v7 providers assembly since that is build agains .net 4.5

  • Kieron McIntyre 117 posts 360 karma points
    Dec 21, 2013 @ 18:37
    Kieron McIntyre
    0

    No, couldn't get 3.0.18 to work so I downgraded to 3.0.17 which didn't work either so it took quite a while to get working all in all. I checked through the manual installation guide steps to see why I couldn't get 3.0.17 to work and it turned out that my database had no FormPicker record in the [cmsMacroPropertyType] table. This meant that 3.0.18 hadn't inserted it into the database when it was installed. But I think this may still have been masking the .Net version issue.

    In the end, checking through the manual installation steps was the saviour.

  • Jamie Attwood 208 posts 504 karma points c-trib
    Dec 21, 2013 @ 21:17
    Jamie Attwood
    0

    I can only get 3.0.14 to install and after that, my macros error out in the RTE with : Error loading MacroEngine script (file: MvcRenderContourForm.cshtml)

    How can I fix that??

  • Kieron McIntyre 117 posts 360 karma points
    Dec 22, 2013 @ 15:15
    Kieron McIntyre
    0

    If that's the output you get, you need to check the logs to see what is causing this. Look in your ~/App_Data/Logs/ folder. It could be a range of things, so that is the best place to start.

  • Jamie Attwood 208 posts 504 karma points c-trib
    Dec 23, 2013 @ 16:56
    Jamie Attwood
    0

    Thanks Kieron, I did an IIS reset and it resolved that issue.

    Cheers,

    Jamie

Please Sign in or register to post replies

Write your reply to:

Draft