Tried to get Forms to work on an upgraded instance of Umbraco.
Now running 7.2.1
{"Views\Partials\Forms\Form.cshtml(32): error CS1928: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm' and the best extension method overload 'Umbraco.Web.HtmlHelperRenderExtensions.BeginUmbracoForm
This is What I get after retrieving the latest Nuget Pack of Uforms 4.0.1
{"Object reference not set to an instance of an object."}
at Umbraco.Forms.Mvc.Models.FormViewModel.Build(Form form) in f:\TeamCity\buildAgent\work\133677a4e37ceece\Umbraco.Forms.Mvc\Models\FormViewModel.cs:line 70
at Umbraco.Forms.Web.Controllers.UmbracoFormsController.Render(Guid formId, Int32 recordId, String view, String mode) in f:\TeamCity\buildAgent\work\133677a4e37ceece\Umbraco.Forms.Mvc\Controllers\UmbracoFormsController.cs:line 31
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass81.
Sorry for the late reply - Just noticed this in my mailbox. Unfortunately it was hiding hence the late reply.
Just tried installing Forms on a fresh installation of 7.2.1 and it's working fine it seems. So not sure whether this could be an issue with upgraded solutions perhaps?
@Jonas: Did you try doing the following
1: Go to the /config/ClientDependency.config and increment the version number
2: Recycle the app pool.
Does that help any? It should clear the backoffice cache, which could perhaps be the culprit since you have just been doing an upgrade etc.
@Jonas Eriksson: Was this on a clean installation of 7.2.1?
Umbraco Forms error.
Tried to get Forms to work on an upgraded instance of Umbraco.
Now running 7.2.1
{"Views\Partials\Forms\Form.cshtml(32): error CS1928: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginUmbracoForm' and the best extension method overload 'Umbraco.Web.HtmlHelperRenderExtensions.BeginUmbracoForm
Hi Jonas
Did you have forms working on an earlier Umbraco version before upgrading Umbraco? Or did you upgrade Umbraco before installing forms?
/Jan
Hi Jan,
We had Contour on our previous installation but uninstalled that completely before upgrading from U6 to U7.
When the U7 upgrade was complete we installed forms and now we are stuck.
This is What I get after retrieving the latest Nuget Pack of Uforms 4.0.1 {"Object reference not set to an instance of an object."}
at Umbraco.Forms.Mvc.Models.FormViewModel.Build(Form form) in f:\TeamCity\buildAgent\work\133677a4e37ceece\Umbraco.Forms.Mvc\Models\FormViewModel.cs:line 70 at Umbraco.Forms.Web.Controllers.UmbracoFormsController.Render(Guid formId, Int32 recordId, String view, String mode) in f:\TeamCity\buildAgent\work\133677a4e37ceece\Umbraco.Forms.Mvc\Controllers\UmbracoFormsController.cs:line 31 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8
1.Hi Jonas
Ok, but is it when trying to view the Forms section in the backoffice or when trying to view a form on the frontend?
/Jan
We have the problem on both places.
Has anyone tried Forms with 7.2.1 ?
I have UmbracoForms.Package.4.0.0-Build.106 running with Umbraco version 7.2.1 assembly: 1.0.5462.37503.
Hi Guys
Sorry for the late reply - Just noticed this in my mailbox. Unfortunately it was hiding hence the late reply.
Just tried installing Forms on a fresh installation of 7.2.1 and it's working fine it seems. So not sure whether this could be an issue with upgraded solutions perhaps?
@Jonas: Did you try doing the following
1: Go to the /config/ClientDependency.config and increment the version number 2: Recycle the app pool.
Does that help any? It should clear the backoffice cache, which could perhaps be the culprit since you have just been doing an upgrade etc.
@Jonas Eriksson: Was this on a clean installation of 7.2.1?
/Jan
Hi Jan!
my installation is upgraded - from 7.1 -> 7.2 -> 7.2.1
/Jonas
Hi Jonas
Ok, seems it's an issue when installs have been upgraded then - Did you try the steps I recommended above as well?
/Jan
I need to be clearer - by "running" I meant - it works for me. :-)
Haha, indeed you did - My bad :)
/Jan
is working on a reply...