The guy is not clear about what he is doing.
To the original poster, you have MULTIPLE drivers specified, and it is not at all clear WHICH one you use.
Please pick ONE interface, and get everything set to that interface, and THEN talk about what issues you are having.
You CANNOT use 2 devices and ASIO at the same time, so unless your driver mode in Sonar is changing to something other than ASIO, you cannot have both the M-Audio and the Line 6 interface connected AND using ASIO.
So, please make it easy on yourself, and on us, by picking ONE and then let's get that working.
Since the Line 6 has ASIO drivers AND 1/4" inputs, why not take the M-Audio completely out of the equation by removing it altogether from your system for the moment? (leaving the Line 6 interface using ASIO mode and the ONLY interface specified in Sonar and the default device in Windows).
THEN tell us what problems that causes you.
Thanks - just too many things going on at the same time for no understandable reason,
Bob Bone