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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...scheduler exceptions after upgrade to 4.5.3scheduler exceptions after upgrade to 4.5.3
Previous
 
Next
New Post
7/14/2007 4:54 PM
 

i'm hoping that this is the last of my issues in upgrading to 4.5.3.  i appreciate all the responses i've gotten. 

this one seems like something wrong with the core.  the only enabled tasks for the scheduler are dnn ones:

PurgeUsersOnline (every 1 minute / retry 5 minutes)
PurgeScheduleHistory (every 1 day / retry 2 days)
SearchEngineScheduler (every 30 minutes / retry 60 minutes)

i'm seeing scheduler exceptions between every 3 to 15 minutes, and i'm wondering what the duplicate key that is being references in the error message might be? 

7/14/2007 4:47:35 PM   Scheduler Exception       AssemblyVersion: -1; PortalID: -1; PortalName ...

AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Add failed. Duplicate key value supplied.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.ArgumentException: Add failed. Duplicate key value supplied. at Microsoft.VisualBasic.Collection.Add(Object Item, String Key, Object Before, Object After) at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem objScheduleHistoryItem) at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.WorkStarted(SchedulerClient& objSchedulerClient)
Source:
Server Name: JILLC-WS17

 

 
New Post
7/16/2007 12:59 AM
 

bumping this and adding detail...

we've dug in a little bit on this one and found similar threads, but still no definitive answers.  the purgeusersonline is the most frequently scheduled taks, and that's a core module.  i don't think putting this down to less than every minute is really an option given the time-sensitive nature of this functionality.  perhaps i should take off the retry?  will the task just execute again the next minute if it failed and i didn't have the retry on?

 
New Post
7/18/2007 12:18 AM
 

I also suffer from this problem... and from all of my searches it looks like it is due to my having multiple domain names pointing the the same installation of DNN each running from a separate application pool in IIS.

My question is... is it better to accept the errors and have multiple application pools, or possibly suffer some performance reduction by only using one application pool across all domain names?

 
New Post
7/18/2007 11:30 AM
 

My guess is that this is due to two processes running at the same time with the same values.

In regards to the question regarding application pools....I personally do not see any benefit of using separate application pools when you have only 1 DNN instance, however, there might be something that I am missing...


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
7/18/2007 11:51 AM
 

Yes, having multiple applications pools pointing at the same DNN instance will cause problems with the scheduler firing off multiple tasks doing the same thing.

These same problems happen when trying to run DNN in a web garden (for the same reason).

I don't think it is worth the problems to have multiple application pools hitting one instance.  If you need seperate application pools then you should have multiple instances of DNN also.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...scheduler exceptions after upgrade to 4.5.3scheduler exceptions after upgrade to 4.5.3


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