IBM Support

LO39658: USER REGISTRATION VIA LOTUSSCRIPT- AGENTS NOT RUNNING ON REGISTR ATION CAUSES INCOMPLETE REGISTRATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The following code throws error "4005: Notes error: Invalid or
    nonexistent
    document" on server console when run in a scheduled agent.
    Tests have revealed that this only happens when the agent is
    executing on a
    server other than the registration server. Lotus Support SWAT
    reviewed and
    established that this is due to synchronization issues where the
    creation of
    the mail file on a remote server isn't completed at the time the
    
    NotesRegistration object tries to modify the mail file's owner
    field. In such a
    case, the above error is thrown.
    
    An enhancement is requested where NotesRegistration waits for
    the mail file
    creation to complete before attempting to modify it thus
    preventing the above
    error.
    Same code works fine when agent runs locally on registration
    server (less
    latency?) and worked in the remote constellation in V70 and
    prior releases
    (different time out, different process flow?).
    
    Dim reg As New NotesRegistration
    
    Dim dateExpiration As Variant
    
    Const NAME= "TEST2"
    
    Const FIRSTNAME = "Test2"
    
    reg.CreateMailDb = True
    
    reg.CertifierIDFile = "C:\cert.id"
    reg.CertifierName = "/OU2=test/OU1=test/O=test"
    reg.IDType = ID_HIERARCHICAL
    
    reg.IsNorthAmerican = False
    
    reg.ShortName = FIRSTNAME+NAME
    
    reg.MailInternetAddress = reg.ShortName+"@test.tld"
    reg.MailSystem = REG_MAILSYSTEM_INOTES
    
    reg.MailACLManager = "LocalDomainAdmins"
    
    reg.MailOwnerAccess = REG_MAIL_OWNER_ACL_MANAGER
    
    reg.MailTemplateName = "mail8.ntf"
    
    reg.MinPasswordLength = 5
    
    reg.NoIDFile = True
    
    reg.OrgUnit = "test"'reg.OrgUnit = ""
    reg.RegistrationLog = "log.nsf"
    
    reg.RegistrationServer = "remoteserver1/test"
    
    reg.StoreIDInAddressBook = False
    
    reg.UpdateAddressBook = True
    
    Call reg.RegisterNewUser(
    
    NAME,_
    
    "",
    
    MAINSERVER_,
    
    FIRSTNAME,
    
    "",
    
    "test",
    
    "location",
    
    "comments",
    
    "mail\"+reg.ShortName+".nsf",
    
    "",
    
    "password",
    
    NOTES_DESKTOP_CLIENT  )
    

Local fix

  • run agent on registration server
    

Problem summary

  • The problem will be fixed in the next release of the product.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# SSCT7R6F5K.
    The problem will be fixed in the next release of the product.
    

APAR Information

  • APAR number

    LO39658

  • Reported component name

    NOTES/DOMINO 7X

  • Reported component ID

    5724E6200

  • Reported release

    801

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-04-16

  • Closed date

    2009-12-04

  • Last modified date

    2009-12-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • NA
    

Fix information

Applicable component levels

  • R801 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTMJ","label":"Lotus Domino"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 December 2009