Copied to clipboard

Flag this post as spam?

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


  • Jonas 123 posts 206 karma points
    Feb 09, 2015 @ 10:13
    Jonas
    0

    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

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Feb 09, 2015 @ 10:29
    Jan Skovgaard
    0

    Hi Jonas

    Did you have forms working on an earlier Umbraco version before upgrading Umbraco? Or did you upgrade Umbraco before installing forms?

    /Jan

  • Jonas 123 posts 206 karma points
    Feb 09, 2015 @ 10:31
    Jonas
    0

    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.

  • Jonas 123 posts 206 karma points
    Feb 09, 2015 @ 10:54
    Jonas
    0

    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.

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Feb 09, 2015 @ 12:26
    Jan Skovgaard
    0

    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

  • Jonas 123 posts 206 karma points
    Feb 09, 2015 @ 12:34
    Jonas
    0

    We have the problem on both places.

  • Jonas 123 posts 206 karma points
    Feb 13, 2015 @ 10:25
    Jonas
    0

    Has anyone tried Forms with 7.2.1 ?

  • Jonas Eriksson 930 posts 1825 karma points
    Feb 17, 2015 @ 10:53
    Jonas Eriksson
    0

    I have UmbracoForms.Package.4.0.0-Build.106 running with Umbraco version 7.2.1 assembly: 1.0.5462.37503.  

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Feb 18, 2015 @ 08:30
    Jan Skovgaard
    0

    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

  • Jonas Eriksson 930 posts 1825 karma points
    Feb 18, 2015 @ 08:40
    Jonas Eriksson
    0

    Hi Jan!

    my installation is upgraded - from 7.1 -> 7.2 -> 7.2.1 

    /Jonas

     

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Feb 18, 2015 @ 08:56
    Jan Skovgaard
    0

    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

  • Jonas Eriksson 930 posts 1825 karma points
    Feb 18, 2015 @ 09:04
    Jonas Eriksson
    0

    I need to be clearer - by "running" I meant - it works for me. :-)

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Feb 18, 2015 @ 09:10
    Jan Skovgaard
    0

    Haha, indeed you did - My bad :)

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies