You didn't include enough information to be sure. Therefore I am guessing you are trying to use M-x SAS on a Windows machine. That doesn't work. Look at the path-to-ess/doc/html/ess.html and go to the section "Help for SAS" for complete information on ESS and SAS.