Copied to clipboard

Flag this post as spam?

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


  • Jayden Corvic 3 posts 93 karma points
    Apr 15, 2020 @ 00:20
    Jayden Corvic
    0

    Umbraco Forms stopped working after restoring web.config

    Umbraco Version: 7.3.4

    Context: Our web server ran out of space and before I realized I tried to save a change to our web.config file causing it to "save" as an empty file.

    I then restored a backup of the web.config from a few days ago and that fixed the resulting 500 error that our server was showing.

    Everything looked fine until i was told our forms were all showing up with errors:

    System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'. ---> System.Web.HttpCompileException (0x80004005): C:\inetpub\wwwroot\CEAV_Live\Views\Partials\Forms\Form.cshtml(88): error CS1061: 'FieldViewModel' does not contain a definition for 'FieldType' and no extension method 'FieldType' accepting a first argument of type 'FieldViewModel' could be found (are you missing a using directive or an assembly reference?)
    

    and from the backoffice

    Request error: The URL returned a 404 (not found): backoffice/UmbracoForms/Form/GetWithWorkflowsByGuid
    

    I was just hoping to be pointed in the right direction.

    Thanks!

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 15, 2020 @ 12:51
    Alex Skrypnyk
    0

    Hi Jayden

    Check the files and folders permissions, also check that all Umbraco forms files in App_Data folder are not corrupted. Thanks,

    Alex

  • Jayden Corvic 3 posts 93 karma points
    Apr 16, 2020 @ 00:07
    Jayden Corvic
    0

    Hi Alex,

    Our Umbraco Forms folder is located in App_Plugins directory and the all the form files are not corrupted.

    Should I be looking for anything specific in permissions?

    What I can see is that folders are read only. Both folders and files have full control set for the relevant groups/user names, including IIS.

    Thanks, Jayden

  • Jayden Corvic 3 posts 93 karma points
    Apr 25, 2020 @ 05:47
    Jayden Corvic
    100

    This issue was resolved by restoring the Umbraco Forms files from a backup.

    There must have been some corruption somewhere during the time that the server was full.

    Thanks for your help Alex!

  • 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