ASIO4all is known to interfere with your proper ASIO drivers when both are installed. There have been a number of threads on this topic. It's not your fault as many web sites and even manufactures seem to recommend asio4all as a solution. But that solution is
only to be used for things like using an on board sound card or a weird no name brand audio interface that
does not come with ASIO or WDM drivers.
Not only does asio4all interfere with proper performance, it's almost like malware to totally get rid of. Google " completely removing asio4all"
Do that first. all traces, even the registry I think.
Then go to the Line 6 web site and download the latest driver that matches your OS version and 64 bit.
Install following instructions about when to plug in your interface.
Always use the same USB port etc.
Re boot.
Check windows sound control panel and make sure the line 6 is working in windows now.
Now open Sonar and go to Edit/ preferences /Audio drivers and see if the line 6 is your timing master and in ASIO mode. I like to switch to WDM mode so Sonar will run an audio test,
Then I switch back to ASIO. All should be good now.
If you are using your Audio interfaces MIDI ports then the Line 6 drivers are used.
If you are using a USB keyboard controller, then there will be midi drivers that are available from that manufactures web site, so check that they are also up to date.
Don't use the CD or DVD's that come with equipment, always check at manufactures web site and compare version numbers.
Check your firmware as well, firmware updates are important to all our midi and audio gear.
Keep a folder with all your drivers, manuals and firmware on a external drive.