Rapture works as stand alone but not in Sonar
I can use Rapture as a stand alone with an external keyboard and works normal. So my midi set up is good. However, in Sonar Home Studio, Rapture, and Sound Tank also, doesn't respond to the keyboard inputs. No sound and the Rapture keyboard doesn't light up. I can record a midi track, with no sound from Rapture, and Rapture will play on the recorded track. I have tried removing the external sound card and using the laptop internal sound card (asio drivers on both), no fix. I have been using Sonar for a few months but this problem just started. I have looked at the Sonar preferences repeatedly but can't find the cause. Thoughts anyone?