Is it an issue with the L293D?

analogWrite(solenoidValve1, 255);

This tells us nothing, and will not work if you have chosen the wrong pin.

Use digitalWrite() instead, and use your multimeter to check the continuity of every connection.