I have a John Deere Model LX255 riding mower with a C series 15HP Kohler overhead valve engine.
The engine cranks and cranks but won't start. Replaced both the Seat and parking brake safety switches, spark plug and fuel filter. I pulled and checked the plug no spark apparent. I replaced the ignition module still no spark.

Prior to this it would start sometimes and not others. It would occasionally start and run fine and after a brief stop refuse to start. I noticed the connection on the seat safety swtich was loose and when properly connected it started immediately. This led me to think the problem might be sfatety switch related although could be complelty coincidental.

Any suggestions or ideas would be greatly appreciated :)