I had a similar problem with my gateway. I would recommend if your asio drivers are 64 bit you should run sonar in 64 as well. so there were a few steps i had to take with my fast track ultra...
open device manager by right-clicking the computer on the desktop, selecting manage and then device manager.
click view on the menu bar and select show hidden devices.
expand "sound video and game controllers"
right-click each instance of your onboard audio and m-audio devices that are shown and click uninstall. DON'T select delete driver software for this device, and DON'T delete any of the microsoft drivers that are showing.
open explorer and go to your C:\Users\<username>\AppData\Roaming\Cakewalk\SONAR X1 Studio directory.
rename your aud.ini file aud_old.ini so you can use it later if anything unexpected happens...
unplug your audiophile.
restart your machine.
plug in your audiophile.
make sure it's working by changing its mode in the m-audio applet.
start sonar.
WDM Mode in windows vista and above is LEGACY EMULATION. WDM does not exist anymore. use WASAPI instead - it works great with onboard audio and my m-audio gear.
don't install asio4all because it corrupts m-audio settings sometimes.
hope that helps.