I've just converted a project from MVC1 to MVC2. In the MVC1 project the HTTP status code was being set in some of the views. These views are now generating this exception:
Server cannot set status after HTTP headers have been sent.
What has changed from MVC1 to MVC2 to cause this and is there any way to fix this?