What kind of experience do you have about above mentioned combination? I could not find any official statement about the compatibility of HEC-RAS (version 3.1.3 or 4.0b) with Windows Vista.
You have to run RAS as an Administrator the FIRST time you run it. To do so, you right-click on the RAS.exe and select the "Run as Administrator" option.