title: Is it possible to remove information from Server Error pages in ASP.NET 4.0?
body: <p>In order to better hide information from users, I'm trying to remove the <strong>Version information</strong> section from the standard ASP.NET error screen. </p>
  
  <p>Custom errors are on, but, under certain circumstances, if you manage to get an error outside of your control (server issues perhaps?) then you can get through to the YSOD. I've tried changing the web.config to include the httpruntime setting where you can set enableVersionHeader to false but the version information still comes through.</p>
  
  <p>Also, in the Application_PreSendRequestHeaders method, I've tried to remove "X-AspNet-Version" from the response headers but that header doesn't exist due to the web.config setting.</p>
  
  <p>Is what I want even possible within this context or will that information always exist? </p>