Copied to clipboard

Flag this post as spam?

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


  • Graham Carr 277 posts 389 karma points
    May 16, 2013 @ 12:29
    Graham Carr
    0

    Contour C# Error

    I have just installed the latest version of the Contour package into a client's site that is running version 4.7.0 of Umbraco. I have added a Contour form to a template using the "Insert form from Umbraco Contour (Razor)" macro. This was added to the template successfully and the correct form was chosen from the popup that appeared.

    Upon viewing the form either in the front-end or the back-end I am receiving the following error message:


    c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\ce4f2991\acc1fd3\App_Web_form.cshtml.c49069d.3wzisyhg.0.cs(27): error CS0234: The type or namespace name 'Ajax' does not exist in the namespace 'System.Web.Mvc' (are you missing an assembly reference?)

    Does anyone have any ideas why this error is occuring and how to resolve it??

     

  • Comment author was deleted

    May 16, 2013 @ 12:45

    That's a pretty old version, might be because that version doesn't ship with the System.Web.Mvc.dll (so you can try adding it)

  • Graham Carr 277 posts 389 karma points
    May 16, 2013 @ 13:50
    Graham Carr
    0

    In what version did Umbraco start shipping with System.Web.Mvc?

  • Douglas Ludlow 210 posts 366 karma points
    Jul 10, 2013 @ 20:32
    Douglas Ludlow
    0

    @GrahamCarr, probably v4.10.

    @Tim, I copied the System.Web.Mvc.dll from a 4.10 Umbraco install into our 4.7.2 install and Contour 3.0.9 appears to work fine now. Thanks!

  • Comment author was deleted

    Jul 10, 2013 @ 20:39

    @Douglas, great :)

Please Sign in or register to post replies

Write your reply to:

Draft