• that happens because you are recovering information from LDAP that it isn't complatible with sqlServer

    try this:

    In SELECT statement put:

    sAMAccountName,

    cn

    I hope this will be useful for you.