Psst…you need an electrician, not a mechanic (well, maybe you do…).
Check your fuses for the correct rating. That would be the easiest to fix problem.
Also, with electrical circuitry, if one thing goes bad (or starts to go), it can destroy other parts in the circuitry. Check around and make sure everything else is ok. A multimeter could help if you can get in to the guts of it. It’s possible that the solenoid was defective, but I wouldn’t run out to replace it immediately.