Hello,
I am getting an error while using asp net mvc controller and view with RazorGenerator.
I have an web app that has only a Login view and controller, I use the razor generator to create a dll and use this "Log On" page on all my websites, so I don't need to duplicate code, on this site I need to use abp framework.
This used to work fine, but now I am getting the "service not found" error on this controller
I tried to add the framework and use ApbController base class but didn't work.
What Am I missing here ? :?:
Thanks
Summary: Website 1: common Logon view and controller to use in other sites, like an asp.net ascx control.
Website 2: My main site that references website 1 dll, the page start is the Logon view from Website 1.
After base.Application_Start(sender, e); got the error : "No component for supporting the service Pine.ToolBox.Controllers.AccountController was found"
1 Answer(s)
-
0
Controllers are registered to DI only if you depend on AbpWebMvcModule. Is your web project has module definition depends on that module?