<p>I'd like to re-brand (and send error emails) for all of the SSRS default error pages (picture below) when you access reports via /ReportServer/.  I'm already handling the ASP OnError event and <em>some</em> of the default SSRS errors appear to catch their own exceptions and then render this page cancel the response all before the OnError event is ever fired.</p>

<p>Any idea on how I can get a handle into SSRS to brand all error pages?</p>

<p><img src="https://www.jazz2online.com/junk/reporting_error.gif" alt="Reporting Services Error"></p>

To get the average of the minimum values for each incnum, you could write this SQL
```
```
select avg(min_time) as avg_time from
    (select incnum, min(col2) as min_time from inc group by incnum)
```
```
using the correct average function for your brand of SQL.
If you're doing this in Access, you'll want to paste this into the SQL view; when you use a subquery, you can't do that directly in design view.