Error Encountered: User Created in DS, but AddUserToGroup : SetInfo on Group Member of Object Failed. Error Number : 80071392

ID: Q236973


The information in this article applies to:


SYMPTOMS

ADSI 2.5 causes previously-run Membership code to break. After you install ADSI 2.5 to a system with a sample Personalization and Membership (P&M) site, the following error message occurs:

Error Encountered:
User created in DS, but AddUserToGroup : SetInfo on group member of object failed
Error number : 80071392
Error description :


CAUSE

ADSI 2.5 translates LDAP_ALREADY_EXISTS (0x44) to 0x80071392 instead of 0x800700B7. This causes the Site Server Membership DTC code to interpret the error incorrectly.


WORKAROUND

To work around this problem, modify the ASP code Dtclib.inc.

  1. Add the line:
    
    Const cAlreadyExists2 = "80071392" 


  2. Modify the line (#572):
    
    if cstr(HEX(Err)) != cAlreadyExists Then 
    to
    
    if cstr(HEX(Err)) != cAlreadyExists AND cstr(HEX(Err)) != cAlreadyExists2 Then 


This change allows the Membership DTC code to accept either return code from ADSI 2.5.


STATUS

Microsoft has confirmed this to be a problem in Site Server 3.0 and ADSI 2.5.

Additional query words:


Keywords          : 
Version           : winnt:3.0
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: July 28, 1999