Anytime you add a new MIDI device to Windows MIDI table, Sonar reconfigures its internal MIDI table to match.
If you have only one MIDI device, then you will never notice. However, if you have a half dozen, and decide to change how they're addressed, Sonar will remap it's assignments, and all your MIDI projects will be out of wack.
This is another big annoyance that really hurts Sonar's image as a "professional" music program for audio and MIDI.
Common Cakewalk -- -- it ain't rocket science, only a lookup table! Add a table mapping MIDI device IDs, their names, and the port numbers you use to map them to a track. This table then gets saved with the project, and when you open the project and don't find those devices have the same port numbers, then notify the user and put up a dialog asking the user to map what you have in the file to what you have on the system.
What Sonar does now is act as if nothing changed, and as far as it knows, that may be true. However, it's dumb not to check that each MIDI track in the project is pointing to the correct midi device when you open a project. A real glaring deficiency in my opinion. A show stopper. Another little reason why pros don't take Sonar seriously. MIDI Device management -- such a basic feature, and in version 7 it still isn't properly done.
I wonder why we have to point out stuff like this to Cakewalk? Doesn't anyone up there actually use this product to make music with real equipment, or is it all a test bed to them?