Hi, I have the same problem, and maybe this KB resolve the issue (Getting error while running discovery wizard for r - CA Knowledge ). A step for resolution indicate make a query to delete discovery agent (delete from CM_DISCOVERY_AGENT where hub = '<Hubname>' ), but when tryed apply the query this not found.
delete from CM_DISCOVERY_AGENT where origin = 'Hub-Customer'
Msg 547, Level 16, State 0, Line 1
The DELETE statement conflicted with the REFERENCE constraint "FK_CM_COMPUTER_SYSTEM_CM_DISCOVERY_AGENT". The conflict occurred in database "CA_UIM", table "dbo.CM_COMPUTER_SYSTEM", column 'da_id'.
The statement has been terminated.
Anyone to resolve this issue with this KB ?
M.E