OK. Ignore what I said about the audio tracks. I know MIDI does NOT play sounds, it only triggers them. So, when I create a stnd MIDI track (NOT Instrument trk) I can see the Sonar MIDI track's meter responding to my MIDI signals, but no sound is produced. For the same token, that same MIDI track WILL record MIDI notes/events, but when I play back that clip again, no sound is produced. ONLY when I create an extra audio track (think back to when Real Guitar came out and you had to create a MIDI AND Audio track) for the separate Audio signal to go to the Analog Inputs on my interface do I hear any sound. So, what that tells me is that my keyboard s'ware is properly telling the MIDI event to trigger a sound, AND the sound is obviously being fed all the way through in order to make sound. That shows me the problem is NOT in my keyboard, or cables, OR interface. However, I'll admit that there could be a MIDI glitch in the interface between converting the MIDI to Audio.
But here's what makes me think it's Sonar. The MIDI indicator that's RIGHT beside the audio engine light in the Time Display window, THAT MIDI indicator has the slash bar across it like you see on traffic signs "DON'T GO HERE!", THAT MIDI indicator is grayed out, and will NOT work, or reset by ANY means. You can click on it til the cows come home and the Audio engine stays on, but never the MIDI engine. And BTW, there IS a dialogue box where you can determine which MIDI channels are active. I can't remember exactly how you get there, but I have mine set so that when you're recording MIDI data on a track that ONLY THAT track will record anything, and your instrument HAS to be set on that MIDI channel. Sounds like a pain, but it actually forces organization when things get hectic.
Hope that clears things up a bit.
KC