74HC595N control solenoid - arduino startup problem

Gnd is -, not +. Chose whatever voltage disables the outputs.