Sorry I should have said the engine turns over fine. And I have taken the plugs out and earthed them to the frame and found there is no spark.
But I would have thought if the earth was dirty none of the rest of the electrics would work either?
Sorry not used to working on fuel injected bikes.
Thanks Gary