I'll add my experience here FWIW since I've been chasing this issue on my '06 12Ss since 2011 on and off. Originally, it appeared to be fixed by applying some Dow Corning dielectric grease to the connector at the cluster. I went after the harness at the steer head on a wild goose chase - it was fine. The problem would go away for a while, sometimes even several years, before it would come back. Finally it became much worse and fooling with the connector and grease didn't help. Finally, while out riding I decided to pull over, pop the seat and simply unplug and reconnect the ECM plugs and check the grounds, relays, fuses, etc. I got going again and the problem was gone! OK, so that at least gave me a good clue.
I started searching for info again, and came across mattyMaxMac's post above and thought AHA!!! I wasted little time performing a cover-ectomy on the ECM, indeed finding some suspect solder joints under magnification, and re-soldering the connections. I let the Loctite non-corrosive clear RTV sealant cure 24 hrs. and was stoked to test it out. I fired it up and all was good....until I sat on the seat. As soon as I sat down the tach started it's seizure, but if I stood up, it stopped. I did this three times, same results. ??????!!!!!!????? WTF? (and no, I'm not that fat, just a wee bit fluffy). I've been soldering for 35+ years so I was pretty confident my repair work was OK and needed to look at the rest of the stuff under the seat.
First I went about cleaning and tightening the grounds. I was just about to reconnect the harness to the ECM when something caught my eye. It was a tiny spot on the underside of the bundle. I looked closer and saw shiny copper and pink wire insulation. DOH! The tach wire! I looked down in the frame and saw a similar bare copper spot on one of the ground wires that ran perpendicular under the harness Actually, it was several bare spots at different locations, all very small.
I'm pretty sure this has been the cause all along. Any time I'd futz under the seat (new battery, charging battery, checking wiring, etc.) I'd move the harness just enough so it would not ground out the tach. After a while it would either move back into it's old position or wear a new spot, which might have taken years. Eventually it would cause the tach to start freaking out again. I re-routed the ground and fixed up the harness and permanently solved the issue.
As a side benefit, the bike does seem to run a little better since the ECM rework, although I had no issue with it prior. She's been a reliable machine for 27K miles so far.
Chris