Connecting Solenoid valve in the emitter of the transistor
Let's consider what the difference between the two topologies is...

1. Transistor switch (common-emitter stage). When you connect the load (solenoid valve in this case) between the collector and positive rail, and apply input voltage (through a resistor) to the base, the base-emitter voltage will increase because the emitter is firmly fixed (grounded). The transistor begins decreasing its collector-emitter "resistance"... and accordingly, its collector-emitter voltage. Finally both its "resistance" and voltage become (almost) zero (as they say, the transistor saturates or, more figuratively, behaves as a piece of wire)... and the whole supply voltage is applied to the load.

2. Emitter follower (common-collector stage). If you connect the load between the emitter and ground, when applying the input voltage the transistor begins conducting and its collector current will create an increasing voltage drop across the emitter resistor. Figuratively speaking, the transistor will "lift" itself its emitter voltage until makes it (almost) equal to the input voltage... and stops. So the maximum final voltage applied to the load is (almost) equal to the input voltage. The name of this phenomenon is "following negative feedback".

Now you can continue to think in this direction to decide what to choose...

Just a note: I have written "almost" but in the case of TIP (Darlington transistor) there is a significant voltage drop (roughly 1.4 V) across the base and emitter since actually there are two junctions in series. You can estimate how much voltage will remain for the solenoid...