Jeff has a good start on isolating the problem. I'd check the fuse box first, then the ignition switch and the connector.
There are lots of things I can think of that match your situation, too many to discuss without more information. Could be as simple as a bad ground, but since you can crank the engine, that tells me that at least power is going to the ignition switch and back out to the starter solenoid.