If that was your first time facing off against Ho-Oh, then you won't be able to recruit him no matter what. Like Charizard Champion#06 said, it takes a second try to recruit him (and the legendary dogs), since if I remember correctly, that rainbow turkey has a recruitment rate of 99%.
But if that was your second try, then.... You're just really, really unlucky. xD