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 Errors Bringing Down Portal- Please HelpScheduler Errors Bringing Down Portal- Please Help
Previous
 
Next
New Post
1/22/2006 1:24 PM
 

Hi,

I am getting alot of log erros indicating a Scheduler is trying to insert a duplicate key (as below):

AssemblyVersion: -1
Method:
FileName:
FileLineNumber: -1
FileColumnNumber: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL:
AbsoluteURLReferrer:
ExceptionGUID:
DefaultDataProvider:
InnerException: Add failed. Duplicate key value supplied.
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.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem objScheduleHistoryItem) at DotNetNuke.Services.Scheduling.DNNScheduling.CoreScheduler.WorkStarted(SchedulerClient& objSchedulerClient)
StackTrace:
Source:
Server Name: DEDI383

 

This is followed by many Module load exceptions a general (timeout) execeptions.  I have also seen some SQL Deadlocked process (Kill Thread) exceptions after these scheduling exceptions also.

Here is the puzzling part.  I am just having this problem on one DNN installation, the second installation is running fine.  I upgraded both installations to DNN 3.2.2 this week.

Which leads me to believe I have some duplicate or erroneous records in one of my schedule tables.  Can I delete all the records in schedule or schedule history tables and then will(??) the system repopulate the tables with new schedule records and restart from scratch?

If I set each schedule item to "Retain History" of "None" will this achieve the same end?

Are these soln. I am asking about not even suggested for the error msg above?

Any help is greatly appreciated.

thanks,

J. Reirdon

 
New Post
1/22/2006 4:29 PM
 

The only downside of deleting records for scheduler items is that you won't have any scheduled jobs.  DNN does not recreate those for you, although you can recreate them yourself.

The first thing I would do, if I were you, would be to isolate where the problem is coming from.  I would start by disabling all jobs in the scheduler and setting the history retention to none.  After restarting the site, I would selectively add only those jobs that you require to run now.  And then carefully monitor what is happening as you slowly turn them on over the course of a couple of days.  Then, using a similar approach, selectively add history retention until you find the job or jobs that are giving you trouble.


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Scheduler Errors Bringing Down Portal- Please HelpScheduler Errors Bringing Down Portal- Please Help


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