Is it an issue with the L293D?

If the solenoids work, then your wiring or code is wrong. You forgot to post those details.