Try our conversational search powered by Generative AI!

Nicklas Israelsson
Jan 22, 2009
  5469
(0 votes)

Scheduler not active when using Extension (X3)

When using X3 on your CMS 5 sites (mainly SP2) you might find out that your scheduled jobs doesn't run. When looking at the jobs in admin mode you get this message: "The EPiServer Scheduler Service does not appear to be active, it may have been stopped."

On a regular site you follow this FAQ and the scheduler starts to work for your site. But when using X3 this might not work.

We've found out that the problem is caused by the installation package. It adds the extension httpmodule on the same row as the scheduler initialization module and thus removing it. Your httpmodules section in web config might look something like this:

<httpModules>
  <!--<add name="BasicAuthentication" type="EPiServer.Security.BasicAuthentication, EPiServer" />-->
  <add name="Dropit.Extension" type="Dropit.Extension.Handlers.HttpModule, Dropit.Extension" />
  <add name="WorkflowRuntime" type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation" />
  <add name="UrlRewriteModule" type="EPiServer.Web.UrlRewriteModule, EPiServer" />
  ...
</httpModules>

To fix this you'll need to manually re-add the scheduler initialization module. After adding it your httpmodules it might look something like this:

<httpModules>
  <!--<add name="BasicAuthentication" type="EPiServer.Security.BasicAuthentication, EPiServer" />-->
  <add name="Initializer" type="EPiServer.Scheduler.Initializer, EPiServer.Scheduler" />
  <add name="Dropit.Extension" type="Dropit.Extension.Handlers.HttpModule, Dropit.Extension" />
  <add name="WorkflowRuntime" type="EPiServer.WorkflowFoundation.WorkflowSystem, EPiServer.WorkflowFoundation" />
  <add name="UrlRewriteModule" type="EPiServer.Web.UrlRewriteModule, EPiServer" />
  ...
</httpModules>

After adding this you can follow the above mentioned FAQ and your scheduler should now once again be active.

Jan 22, 2009

Comments

Please login to comment.
Latest blogs
From Procrastination to Proficiency: Navigating Your Journey to Web Experimentation Certification

Hey there, Optimizely enthusiasts!   Join me in celebrating a milestone – I'm officially a certified web experimentation expert! It's an exhilarati...

Silvio Pacitto | May 17, 2024

GPT-4o Now Available for Optimizely via the AI-Assistant plugin!

I am excited to announce that GPT-4o is now available for Optimizely users through the Epicweb AI-Assistant integration. This means you can leverag...

Luc Gosso (MVP) | May 17, 2024 | Syndicated blog

The downside of being too fast

Today when I was tracking down some changes, I came across this commit comment Who wrote this? Me, almost 5 years ago. I did have a chuckle in my...

Quan Mai | May 17, 2024 | Syndicated blog

Optimizely Forms: Safeguarding Your Data

With the rise of cyber threats and privacy concerns, safeguarding sensitive information has become a top priority for businesses across all...

K Khan | May 16, 2024