Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...DNN 7.3.3-4 The scheduler don't workDNN 7.3.3-4 The scheduler don't work
Previous
 
Next
New Post
11/24/2014 9:21 AM
 

HI all !

I have a problem (and a solution) for a problem with DNN7.3.3 and DNN7.3.4 version.

After the software update from DNN7.3.1 to 7.3.3 and 7.3.4 the DNN scheduler send an exception to log: "Sequence contains more than one matching element" and it stop all scheduled activities.

Identical situation happend if I try to force the execution of a task inside the host scheduler module.

I have downloaded the last DNN source code and i have found an error in:

DotNetNuke.Libary.Scheduler.GetServer

The error is in the "Single" function used to extract the ServerInfo with the correct executingServer name.. in my case there are 2 server with an identical name, one correct and one without the URL string! Single (for definiton in MSDN) raise an exception if there are 2 or more rows in list. The executor catch the exception and throw in a Thread.Sleep 10 minutes (in ..Scheduling.Scheduler.CoreScheduler.Start()) and it do not execute any schedule functions.

I have replace the code with

internal static ServerInfo GetServer(string executingServer)
            {
                   var serverList = ServerController.GetServers();
                   var ret = (from x in serverList where x.ServerName.ToLower() == executingServer.ToLower() && !string.IsNullOrEmpty(x.Url) select x).First();
                   return ret;                
            }

And it works !

It is a DNN BUG or it is one of my software configurations ?

 
New Post
11/24/2014 12:03 PM
 
it is a known bug, open Webserver table of your database in SQL Server Management Studio and delete duplicates.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...DNN 7.3.3-4 The scheduler don't workDNN 7.3.3-4 The scheduler don't work


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out