I have a database that i have replicated on 5 different servers..
having about 150 users. This database has been in existence for
about a year with no problems, but am now getting this error.
What do i need to do to fix this..
If you're doing your synch in code, it will look something like
this:
dbLocal.Synchronize "path to your remote db"
If you set the max locks before the synch, as the article suggests:
DAO.DBEngine.SetOption dbmaxlocksperfile,15000
I would suggest that you should buffer the existing value, change it
and then set it back to the original value.
But if you've got that many changes you should be synching more
often. The reason you hit the problem is because there are too many
records being updated at once. I've only see this problem when
there's been a long time between synchs, so rather than mucking
around with changing this option for each synch, I'd just synch more
often (more synchs are always good).
You could even set up an error handler that would bump up the
maxlocks setting if the error was encountered, and only do it when
it was necessary.
Actually, that's a good idea. I think I'll incorporate that into my
replication utilities.