I'm adding this in hopes of helping the next poor soul struggling with a Behringer X-Touch...
Do as the previous threads say, delete the two files...and if it doesn't take, do it again. And again.
Reboot your PC after each, and restart Sonar fresh each time.
Try cycling power/startup in a different sequence.
Deleting the two files should also delete the Mackie Control from the list of controllers, so add it back in.
I deleted it from the list using the red X, then re-added it.
Somewhere along the way...it started to work.
Tenacity will be rewarded.
Now where is that template for the other buttons...