I have this bizarre error message when I do a manuel Replace or Refresh design
The error is in french but in english it’s something like this:
Error with replace design, adding role impossible, the maximum number of entries have been reach.
I know a limitation about ACL (75 entries) but it’s not the case, I have 40 entries.
I think I know from which design element it’s coming from. It’s a form used with the 40 roles entries. I used Readers fields, Hide-when , access controled sections and stuff like that.
Subject: RE: Error - Replace design - Adding role - Maximum number
I found a post in German that looks like it is talking about the other limits of ACLs besides the 75 roles. ~950 names and a 32MB max size. Are you above either of those maybe? Here is the link if you want to run it through a translator or can read German, maybe it will help.
Subject: Solution : Error - Replace design - Adding role - Maximum number
Hi Robert,
thank you for your help.
I’ve tried this code
Sub Click(Source As Button)
Dim s As New notessession
Dim db As NotesDatabase
Dim c As NotesNoteCollection
Dim aclNoteID As String
Dim docTest As NotesDocument
Set db = s.getdatabase("Server","Db.nsf")
Set c = db.CreateNoteCollection(False)
c.SelectACL = True
Call c.BuildCollection
aclNoteID = c.GetFirstNoteId
Set docTest = db.GetDocumentByID(aclNoteID)
Messagebox(Cstr(docTest.Size) + "bytes")
End Sub
My Acl size is ok.
Finally, the problem was with the source database. Some roles we’re present in the source but not in the target database!!!???
Anyway, it’s working now.
Thank you,
Keyword: Design replace failed, cannot add role , maximum number of entries has been reached.
From the Web site. IBM has published a note in 2005
LO09329: DESIGN REPLACE FAILED, CANNOT ADD ROLE, MAXIMUM NUMBER OF ENTRIES HAS BEEN REACHED.
The solution was to add the needed to the roles of the ACL target database, and then the design replace or refresh completes with no errors…"
…
“This problem was resolved as: No Plans To Fix in this Codestream.”