Exception while adding user to AD security group?

While adding user to Active Directory security group throws an exception in c#.

error: There is a naming violation