CMSPages Scheduler. ashx not found in the project root

Sayer Aljohani asked on December 28, 2020 11:20

Dear All,

I follow this tutorial to configur scheduler execution by the Kentico application. We try to avoid using extrinal service because of production and deployment complexity, we try to stick only on Kentico services.Howerver, after I enabled the scheduler I got this error :

Description:Message: The remote server returned an error: (404) Not Found. Exception type: System.Net.WebException Stack trace: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at CMS.Scheduler.SchedulingHelper.RunSchedulerRequest(String url)

REQUESTED URL: http://localhost/xxxAdmin/CMSPages/Scheduler.ashx

When I check project root , I did not find this file Scheduler.ashx under CMSPages folder.

Recent Answers


Juraj Ondrus answered on December 29, 2020 20:52

What is the version and hotfix you are using? That page is virtual - The URL engine in Kentico routes it into a DLL file. However, the error you see usually means that the web server cannot access itself under the domain name/URL set for the admin app. E.g. if there is any proxy or load balance, firewall. You can try using web.config keys for scheduler URL (CMSSchedulerURL and/or CMSSchedulerAcceptAllCertificates) or, if you are running behind proxy, please see documentation on running behind proxy.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.