Replica still searches old server

In our office we were using one Domino for mails as well as workflow applications. This workflow was a huge database hence we had created local replica which used to replicate with the server after every 15 min.Now we have purchased new Domino only for workflow applications and I shifted the application from mail server to new seever.(Created a replica on new server). I have deleted application from old server now. But in user’s desktop the local replicas still searches for database on old server and it doesnot come out , the replication stops there. It doesnot find the database there and due to that my mail server becomes slow.

Hence I have again kept a copy on old server till I do the settings manually on each PC.

Can anybody tell me why the replication is stoping there ? it should give error and go to next entry if the nsf file is not there?

pls reply…

Sheela

Subject: Replica still searches old server…

Replication searches last known server. If user never replicated manually with new server, automatic replication will not find the new server. Maybe LS code below will set correct server, but I did not tested it.

Dim session As New NotesSession

Dim db As NotesDatabase

Set db = session.CurrentDatabase

Call db.Replicate( “NewServer” )

Hopefully after you run this agent replication tab “remembers” NewServer as last known server.

Subject: RE: Replica still searches old server…

Thanks for the quick reposnse…pls guide me where to write this agent? in the database? on which event?

pls reply…