Ok, here's an update:
Reinstalled Sonar completely. Sonar, Guitar Rig 5, Dimension Pro, Rapture. Everything. The good news is that my projects are now playing in the correct key.
The bad (and weird) news is this:
I have three projects that I've been working on. Two of the projects were in the wrong key AND the MIDI was out of tune. Now, those two are perfectly fine, including MIDI.
But, now I'm trying to add a keyboard part to the third project and the f'ing MIDI is completely out of tune with my guitar part. So, I'm back to my problem of the other day when I had posted that my Keystation MIDI controller was not in the correct key. I know it's not the controller because two of my other projects are perfectly fine.
So, what is going on to make soft synths out of tune with everything else? Lord Tim, I did disable Windows sounds by the way. I don't need them anyway. It didn't make a difference with the MIDI issue.