Notetesdatabase.alldocuments.count and properties show wrong amount of documents
Posted on 2007-07-21
I am creating a basic check for the replication of databases. I want to compare to replica's to see if the number of documents match. While coding the agent I ran in the following problem. If I do a Notesdatabase.alldocuments.count I get a completely different number of documents than I can see in a view containing all the documents. Basically I have 640000 documents in the database and the alldocuments.count gives me around 240000. The database properties also shows 240000. The only reason I can think of is that the server has no rights to read the documents. The server is reader of these documents. Could there be another reason?