Hi!
I am trying to delete (old) mail file replicas on a cluster server, since the Notesadministrationprocess.Movemailuser doesn’t seem to delete a cluster replica.
To do this I am trying to use the Notesdatabase.Markfordelete method, but I get “Error accessing product object method”.
I use this code:
Set oldDb = sess.GetDatabase(doc.ClusterServer(0), doc.OldMailFile(0) & “.nsf”, False)
If Not oldDB Is Nothing Then
Call oldDb.MarkForDelete()
End If
It gets a database object in oldDb, and it’s trying to process the Markfordelete, but gets the error above.
Am running Domino 6.5.2 on the server that’s running the scheduled agent (not in the cluster), and the server where the DB is located is 6.0.3 (in a cluster).
Has anyone encountered this problem?
Thanks,
Thomas