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??
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
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)
In what version did Umbraco start shipping with System.Web.Mvc?
@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
@Douglas, great :)
is working on a reply...