Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a project running Umbraco 7.10.5 and tried to install Umbraco Forms 7.0.5 from NuGet.
When I build and open Umbraco Backoffice I get the following error:
2018-10-30 15:56:39,399 [P8180/D6/T35] ERROR Umbraco.Web.Editors.SectionController - Unhandled controller exception occurred
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
Also get the same error when using the Install button on the Backoffice forms section.
Turns out it was down to Autofac config.
Adding the following two lines resolved this for me
builder.RegisterControllers(typeof(UmbracoFormsController).Assembly, typeof(Startup).Assembly).PropertiesAutowired(); builder.RegisterApiControllers(typeof(UmbracoFormsController).Assembly, typeof(Startup).Assembly);
Hi. I am having the same issue but where Castle Windsor is being used as the IoC container. Can anyone advise how to translate the above lines from Autofac to the Windsor equivalent?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted