Microsoft KB Archive/236973

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

Article ID: 236973

Article Last Modified on 10/22/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



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.   Add the line: Const cAlreadyExists2 = "80071392"   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.

Keywords: kbfix kbprb KB236973

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.