Starting from transmission end no. 393329 the solenoid valves are covered to prevent a short circuit due to metal chips.
In your case it may also be a contacting fault in the connector at the ETC or the transmission or a damaged wiring harness. It could also be that one of the 2 pressure regulating solenoid valves has a bad contact or is defective.
I hope this is of any help.