When mine threw a C42 it was the ignition switch that was faulty.
After a lot of playing around with the wiring etc I couldn't sort it,
In the end I bought a second hand switch off eBay, took it apart and swapped the key barrel over so that I kept the original key.
Fitted it and problem sorted,
it could just have been a broken wire or such that was the problem, the ignition switch has a resistor or something that the ecu reads when you turn it on, if it it can't read it it will throw a fault and the bike won't start.
After a lot of playing around with the wiring etc I couldn't sort it,
In the end I bought a second hand switch off eBay, took it apart and swapped the key barrel over so that I kept the original key.
Fitted it and problem sorted,
it could just have been a broken wire or such that was the problem, the ignition switch has a resistor or something that the ecu reads when you turn it on, if it it can't read it it will throw a fault and the bike won't start.