locked
Error:The attribute syntax specified to the directory service is invalid RRS feed

  • Question

  • User238037111 posted

    Hello

    I am updating an LDAP attributes i.e. Title as mentioned below

    newUserEntry.Properties["title"].Value = tbEditTitle.Text

    If tbEditTitle.Text has value, it update attributes properly, but if tbEditTitle has no value, thne it gives me following error

    The attribute syntax specified to the directory service is invalid

    Please let me know how do I resolve?

    Avi

    Tuesday, August 18, 2009 9:26 AM

All replies

  • User-2009597737 posted

    I would check if tbEditTitle.Text has a value before updating the AD attribute. I could be wrong but you cannot have a null/blank value in an AD attribute.

    Thursday, August 20, 2009 12:40 PM