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.
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:
and from the backoffice
I was just hoping to be pointed in the right direction.
Thanks!
Hi Jayden
Check the files and folders permissions, also check that all Umbraco forms files in App_Data folder are not corrupted. Thanks,
Alex
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
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!
is working on a reply...
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.