Symptoms
When a customer is trying to remove a user/staff member, an error is thrown in CP:
ODBC error #23000: [Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE statement conflicted with the REFERENCE constraint "ADomain_TechUsersID". The conflict occurred in database "pba", table "dbo.ADomain", column 'TechUsersID'.ODBC error #01000: [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.ODBC error #01000:
Cause
This user is being used as domain contact for customer's domain, or there were some AR documents attached to this user.
Resolution
Change domain contact to different user.
Additional details
The indescriptive error message was reported as PBA-40566