Carl McCall was a joke candidate. The state Comptroller, but a joke candidate all the same and one who received little meaningful support from his party beyond the bare minimum. McCall also got hit with a major scandal in mid-October 2002.
Do you want me to mention how many joke Republican candidates have beaten much stronger Democratic challengers only because of the partisan lean of their districts/states in recent years?
The point is New York wasn't as Democratic in 2000 as it is now. Having a D next to your name wasn't enough, you had to actually run a campaign.