Check with a mains tester or volt meter that you have power to the switch ( and the switch is disconnecting hot instead of neutral ). If the switch has power to it and closing the switch put power to the wire to the light, then check for voltage at the hot wire in the light.
This is an incandescent bulb ?