It is the disconnect, some of the weather-proof enclosures (for this purpose), that I have seen have tiny drain holes in the bottom and are constructed so water will not enter the top, but will drain out the bottom. Laying the enclosure on its side defeats this. Not to mention other code issues. But I don't think the disconnect and flex are the big danger here.