The controller for path was not found or does not implement IController.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
So I made a plugin, back in 3.3 and it works perfect. I upgraded it to work in 3.4 and it works perfect in 3.4. I uploaded it to my website and it doesn't work. I uninstalled it, and deleted the files off my server and restarted the application. I then re-uploaded it, installed it and restarted the app. No matter what I do I get:



The log entry message.Short message:  The controller for path '/Admin/Plugins/Shirt/Fundraiser' was not found or does not implement IController.


The details for the log entry.Full message:  System.Web.HttpException (0x80004005): The controller for path '/Admin/Plugins/Shirt/Fundraiser' was not found or does not implement IController. at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


No idea what is so special about my localhost that isn't special about my production.

Any Thoughts?
9 years ago
sadly I ran into this issue again. I forget what I did to fix it before...anyone have any thoughts? This is for a new plug in. I tried restarting the app about 5 times.

It works perfectly on my localhost
9 years ago
Not 100% sure what is the exact issue but make sure you did following things correctly ,

3.4 plugin

1. Controller must extends BasePluginController
2. Target framework : .NET Framework 4.5.1
3. Copy web.config from any existing 3.4's plugin into your plugin
4. Remove web.config from view folder of your plugins ( if there any)
5. File property for all .cshtml and the web.config must be
Build Action : Content
Copy to Output Directory: Copy if newer
9 years ago
shahdat45ict wrote:
Not 100% sure what is the exact issue but make you did following things correctly ,

3.4 plugin

1. Controller must extends BasePluginController
2. Target framework : .NET Framework 4.5.1
3. Copy web.config from any existing 3.4's plugin into your plugin
4. Remove web.config from view folder of your plugins ( if there any)
5. File property for all .cshtml and the web.config must be
Build Action : Content
Copy to Output Directory: Copy if newer


Thanks,

I had a web.config in the views folder, removed that, recompiled my plug in, uploaded it and IT WORKS!!

thanks!
9 years ago
Excellent!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.