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



The information in this article applies to:

  • Microsoft Site Server 3.0

This article was previously published under Q236973

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 that this is a problem in Site Server 3.0 and ADSI 2.5.

Modification Type:MajorLast Reviewed:10/22/2002
Keywords:kbprb KB236973