A public action method 'runtask' was not found on controller 'Nop.Admin.Controllers.ScheduleTaskController'.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi,

I see this error in my log. What does it mean? I use nopCommerce 3.8.

System.Web.HttpException (0x80004005): A public action method 'runtask' was not found on controller 'Nop.Admin.Controllers.ScheduleTaskController'. at System.Web.Mvc.Controller.HandleUnknownAction(String actionName) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
4 years ago
Scheduled Tasks run in the background to do things like sending emails (runtask)
See yourwebsite.com/Admin/ScheduleTask/List - Send Email

Have you customised the solution / Are you running any special plugins ?
4 years ago
Hi,

I am in process of updating my site to nopCommerce 4.1. I upgraded the database from 3.8 to 4.1. It appears some of the nopCommerce tasks ping /runtask. I turned off the 4.1 site and I believe turning off all the tasks will make it work.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.