In the molten state, ionic solids dissociate to give free ions and hence can conduct electricity. However in the solid state, as the ions are not free to move but remain held together by strong electrostatic forces of attraction, so they cannot conduct electricity in the solid state.