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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronising Search Data between Dev. and Prod. Any ideas?Synchronising Search Data between Dev. and Prod. Any ideas?
Previous
 
Next
New Post
12/28/2006 2:02 PM
 

Hi,

I'm working with DNN 4.4.0.

This morning I solved my hosting issues with synchronising dev DB and Remote Prod. DB with Red Gate's Data Compare.

As the afternoon progressed I came across an intersting one.  I had been inserting html and links on the dev. install and periodically updating the remote prod. to test my best new tool... :-)

After an hour or so I hit a roadblock on db synchronization.

The tables that is causing me an issue is : dbo.SearchItemWord

The error message basically states: Violation of Unique Key Constraint 'IX_SearchItemWord'. Cannot insert duplicate key in object 'dbo.SearchItemWord.

Is it possible to flush the table in question?

Any ideas what I can do to resolve the synch situation?

Thanks for any help.

Colin

 

 


Colin Mulcahy
E: colin_mulcahy@hotmail.com
 
New Post
12/28/2006 2:49 PM
 

Yes you can truncate that table if you want.  It will be repopulated on the next indexing.

DotNetNuke Modules from Snapsis.com
 
New Post
2/4/2007 3:46 PM
 

I've searched high and low for this... does anyone actually know what causes this exception and how to stop it happening? I've cleared my tables over and over but it keeps coming back. There's usually some Transaction Process deadlocks around the same time.

What is actually happening when this error happens?

Rob

 

 
New Post
5/24/2007 10:21 AM
 

Robax -

Did you ever make any headway with this? I seem to have the same problem.

Thanks

 
New Post
5/24/2007 6:35 PM
 

I'm afraid I never really figured out any of that, but what I can state is that moving to a VPS helped and also that recent DNN upgrades seemed to reduce the appearance of a variety of errors. I'm not getting all those process deadlocks like I used to. I spent some time in Enterprise Manager looking at all the threads on the server and I believe that other sites sharing the db may well be part of the issue.

Oh.. one thing that might help is that I altered all the scheduler timings to reduce the likelihood that they start at the same time.. (Though surely that can't be the actual cause of a deadlock in a modern computing system?)

I set the standard scheduled items up like this:

Type Enabled Frequency Retry Time Lapse Next Start
DotNetNuke.Entities.Users.PurgeUsersOnline, DOTNETNUKE y Every 1 Minute Every 5 Minutes 5/24/2007 3:25:08 PM
DotNetNuke.Services.Log.SiteLog.PurgeSiteLog, DOTNETNUKE y Every 1 Day Every 2 Hours 5/24/2007 5:52:55 PM
DotNetNuke.Services.Scheduling.PurgeScheduleHistory, DOTNETNUKE y Every 1439 Minutes Every 2 Days 5/24/2007 5:51:55 PM
DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE y Every 1430 Minutes Every 60 Minutes 5/24/2007 5:42:55 PM

The big one was to change the search engine to just under once per day, which is plenty in my situation. I can't specifically say if it works (because of the already mentioned updates and upgrades I also made at the time) but maybe it helps.

Currently I only have one fairly regular grouping of errors.. the same old:

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.Scheduler.CoreScheduler.AddToScheduleInProgress(ScheduleHistoryItem objScheduleHistoryItem) at DotNetNuke.Services.Scheduling.DNNScheduling.Scheduler.CoreScheduler.WorkStarted(SchedulerClient& objSchedulerClient)

I'd love to know if the error has any relevance or not.

I'm now also more able to sift out meaningless errors than I used to be, so even though there's often a lot of red in there, I know why it's there.

That's about everything I can say about it really.

Regards,
Rob

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Synchronising Search Data between Dev. and Prod. Any ideas?Synchronising Search Data between Dev. and Prod. Any ideas?


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