The solenoid problem is either due to a flat battery, poor connections or the solenoid itself. The spark issue won't be connected to this unless your machine has battery and coil ignition rather than a magneto....try a new plug, make sure its earthed correctly, and the electric ground wire isn't earthed out.
John, March 2008