So I've installed this version of Umbraco Forms through the 'Forms' tab in my new Umbraco 8.13.0 instance. No errors reported during install and I've gone and created my first form.
I've added an RTE property to my doc type where I can insert the macro but I get this error.
I've looked at a number of posts around errors with Umbraco Forms but there's a couple which hint that this error was resolved in previous releases.
When I load the page which includes my for, I get this error
"The type or namespace name 'WebViewPage<>' could not be found (are you missing a using directive or an assembly reference?)"
Th error is reported on line 44 of AppWebrender.cshtml
public class _Page_Views_Partials_Forms_Themes_default_Render_cshtml : WebViewPage<Umbraco.Forms.Web.Models.FormViewModel> {
When I check in Form.cshtml I can see the WebViewPage namespace cannot be found -
The problem seems to be when there is no value in Accept Copy field, that the form is unable to render. When adding text to that field the form will work and if you remove the text again, the form will still work. That leads me to think that the key is not generated unless there is some info in that field. Having a default message like this might be a solution.
May have found the issue actually, I installed via backoffice as per the Forms guide but looks like I should have installed via Nuget. Just need to decide whether to completely uninstall the package or just install and overwrite via Nuget?
An empty 'views' web.config file was causing my issue...I haven't seen this populated with namespaces on other projects but including the relevant name spaces resolved this for me, just in case anybody else experiences this.
As always, thanks to those who pitched in with suggestions.
Umbraco Forms v8.7.6 - WebViewPage Error
So I've installed this version of Umbraco Forms through the 'Forms' tab in my new Umbraco 8.13.0 instance. No errors reported during install and I've gone and created my first form.
I've added an RTE property to my doc type where I can insert the macro but I get this error.
I've looked at a number of posts around errors with Umbraco Forms but there's a couple which hint that this error was resolved in previous releases.
When I load the page which includes my for, I get this error
"The type or namespace name 'WebViewPage<>' could not be found (are you missing a using directive or an assembly reference?)"
Th error is reported on line 44 of AppWebrender.cshtml
When I check in Form.cshtml I can see the WebViewPage namespace cannot be found -
I've followed the install and config steps for Umbraco Forms and double checked them so can't see where I'm going wrong.
Thanks Stuart
The problem seems to be when there is no value in Accept Copy field, that the form is unable to render. When adding text to that field the form will work and if you remove the text again, the form will still work. That leads me to think that the key is not generated unless there is some info in that field. Having a default message like this might be a solution.
What happens when you replace
with
May have found the issue actually, I installed via backoffice as per the Forms guide but looks like I should have installed via Nuget. Just need to decide whether to completely uninstall the package or just install and overwrite via Nuget?
From - https://our.umbraco.com/forum/using-umbraco-and-getting-started/103974-reference-umbraco-forms-assemblies
update, installed via Nuget but have the same issue, frustrating.
If anyone has any other ideas it would be greatly appreciated.
Thanks, Stuart
Hi Brendan,
Same thing I'm afraid, type or namespace UmbracoViewPage could not be found.
I'd found a post earlier on today suggesting that and gave it a go, no joy though.
An empty 'views' web.config file was causing my issue...I haven't seen this populated with namespaces on other projects but including the relevant name spaces resolved this for me, just in case anybody else experiences this.
As always, thanks to those who pitched in with suggestions.
Stuart
is working on a reply...