This is from the SONAR Home Studio 6 Help files:
My Keyboard Doubles Every Note I Play
When your keyboard doubles the notes, each note seems heavier or thicker than usual, as if two notes of the same pitch are emitted when you press the key. Also, you may find that you can play only half as many notes at one time before some of the held notes drop out.
This can occur when MIDI echo is enabled. The keyboard plays the note for the key you've pressed. At the same time, the note is sent through the MIDI interface and echoed back to the keyboard, where it is played a second time.
The best way to resolve the problem is to disable Local Control on the keyboard, following the instructions that came with the keyboard. This stops the keyboard from playing independently. The keys you play still produce sound on the keyboard because they are echoed back by the MIDI interface. In many cases, SONAR disables local control automatically when the program is started, but this is not always possible.
It's also possible that your keyboard is transmitting information on two channels at once. To see if this is so, create a new project and record two notes from the keyboard. Then look at what you've recorded in the Event list view. If you see four notes displayed instead of two, then your keyboard is transmitting on two channels. See the documentation for your keyboard to learn how to correct the problem.
Since echo is off, check your keyboard's settings.