I'm having issue that the CMSImport ScheduleTaskHandler are being called every one minute.
I've checked in the umbracoSettings.config file within <scheduledTasks> and nothing seems to be there. I've checked the install packages and CMSImport wasn't there either. Wasn't sure if someone else installed them and removed them before.
The error message that i'm getting as below.
Anywhere that I should look into?
System.Web.HttpException: The file '/umbraco/plugins/CMSImport/Handlers/ScheduleTaskHandler.ashx' does not exist. System.Web.HttpException (0x80004005): The file '/umbraco/plugins/CMSImport/Handlers/ScheduleTaskHandler.ashx' does not exist. at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
You mean inside umbracosettings.config and within the <scheduledTasks></scheduledTasks> right?
I've checked the <scheduledTasks> and the weird thing is that it doesn't containt any CMSImport Scheduled Task inside.
Mine looks like below. Weird
<scheduledTasks> <!-- add tasks that should be called with an interval (seconds) -->
<!-- <task log="true" alias="test60" interval="60" url="http://localhost/umbraco/test.aspx"/>-->
</scheduledTasks>
Yep that's the file and location. If it's not configured for this site some other site is configured to execute the task. Best to check all other sites on that machine as well. Only a scheduled task is calling that file.
This is a nasty setting for the default to use localhost in the url, especially if it's on shared hosting.
Suggestion: don't include the schedule by default.
ScheduleTaskHandler.ashx does not exist
I'm having issue that the CMSImport ScheduleTaskHandler are being called every one minute.
I've checked in the umbracoSettings.config file within <scheduledTasks> and nothing seems to be there. I've checked the install packages and CMSImport wasn't there either. Wasn't sure if someone else installed them and removed them before.
The error message that i'm getting as below.
Anywhere that I should look into?
Hi,
Think CMSImport is uninstalled. Why?? ;-) But you can remove the ashx from the /config/umbracosettings.config file then the log is gone.
Cheers,
Richard
Hi Richard,
You mean inside umbracosettings.config and within the <scheduledTasks></scheduledTasks> right?
I've checked the <scheduledTasks> and the weird thing is that it doesn't containt any CMSImport Scheduled Task inside.
Mine looks like below. Weird
Hi,
Yep that's the file and location. If it's not configured for this site some other site is configured to execute the task. Best to check all other sites on that machine as well. Only a scheduled task is calling that file.
Cheers,
Richard
This is a nasty setting for the default to use localhost in the url, especially if it's on shared hosting. Suggestion: don't include the schedule by default.
Also, un-install did not seem to remove this.
Hi Murray,
That will confuse others as well. V3 will not use the Umbraco Scheduler anymore. That will solve all above issues.
Best,
Richard
is working on a reply...