Here are some thoughts:
What audio devices do you have selected in Sonar?
Have you disabled your onboard audio card (usually a good idea)?
Are you using ASIO4ALL? (not so good)
Do you have the latest audio drivers installed?
Can you load a VST in stand alone mode and have it work?
These are just a few thoughts that might help debug the problem.
It almost sounds like it might be a loop. Hope you get it sorted out!