I am trying to call an Action from my view using @Html.Action(\"ActionName\",\"controllerName\"). But my page fails to load with below error:
@Html.Action(\"ActionName\",\"controllerName\")
You need to add
x.For<{Your controller name}>().AlwaysUnique();
in IoC.cs file. This should be done for every controller in your project.
For more details check this link.