title: How to return error message from FileResult method in asp.net MVC 4 application?
body: <p>I have a fileresult method in asp.net mvc4 that returns a report in an excel file. Now how can i return an error message from this method if my conditions are not met !! Since we can only return a file from this method ?! 
  Thnks</p>