Without sounding like a prick, I would have to say that its more likely neither of the items were defective and something was connected incorrectly. The problem is, depending on what was connected incorrectly, damage could have been done.
With all electronics... check the fuses, check the ground, check the fuses again, check the ground again and when your done with this... do it again.
If none of the fuses are bad, and the grounds are good and solid, make sure that your vehicle specific harness was connected properly.
If none of this illuminates the issue, then its more serious than can be troubleshooted via a forum.