[RESOLVED]htmlhelper.action problem

Hi,

I am new to MVC though have done a lot of work in ASP.Net.

While running code _html.Action("ControledName",
"ActionName",
new
{ area =
"AreaName", ActionParameter
});

I am getting error "The controller for path ‘/’ was not found or does not implement IController.". I am not sure what might have happened as it seems I have everything setup correctly.

Please help me

I suspect that your default routing may not setup properly. Please take a look at the route config and see that the defaults mentioned there exists (include Area if needed)

Leave a Reply