could be your battery has just enough juice to light the dash and not enough to crank. Because as soon as you try and crank it your lights and stuff go off, because its trying to use what little power there is to start the car and there isn't enough.