I am currently experiencing some problems when creating a new server using the REGNewServer C API function in Domino 6.
PROBLEM 1
The agent works fine in version 5, but in 6 it populates any “” (Blank) doc field assignment, with the following string “SERVERNAME/ADMINSERVER/OU/ORG!!names.nsf/NEWSERVERIDOU/NEWSERVERORG”.
The actual creation of the Server doc and ID file runs ok, the problem occurs during the updating of the Server ID request form.
Note: The Server creation agent is initiated through a custom requests database.
PROBLEM 2
It seems that, after the REGNewServer call executes, for some reason the object referencing the Admin servers address book remains open in memory.
Therefore, if you later try and open the address book through script, it throws up an error “This database object is invalid (Server/OU/ORG!!names.nsf)”.
The only way to get around this error is to close the notes client and reload.
I’ve checked the C API for 5 and 6 and the function REGNewServer is unchanged.
Any help would be most appreciated.
Kash.