As I've mentioned in other related threads, our front curbside slide creeps out about once a year, with the coach just in storage, power off. It hadn't done it for awhile, but a couple weeks ago I put all slides out for exterior cleaning, then back in, all systems and mains off again. Yesterday I walked past the rig and noted the slide was out at the bottom a half inch. Though it creeps out on occasion, I'm not so sure a new solenoid is necessary.
In the past I've just turned on the 12v. and popped the thing out 3-4 inches, and back in, and it's always stayed put. It seems to be just a matter of the rare imperfect O ring-sealing upon retraction, that lets a smidge of fluid by that with time gives the slide a chance to relax out a little. A bump out and back in seems to reseat the ring, at least so far.
If that routine's not holding for you, then a new solenoid is one resolution. It's been awhile since I've read about it, but I recall some have disassembled the offending solenoid, cleaned it, and replaced O rings.
Joel