Help no spark to distributor

Replaced everything ballast, coil, control box, and distributor, all with new parts I have spark when key goes to run position and when you go to off. What the hells my problem?