I thought I'd asked this before, but couldn't find it.
I want to get around the basic "Your report failed" type errors with a custom error page based on what the error is.
I found a link (clicky
) and I've added in the CustomErrors section into web.config file.
The top of the web.config file currently looks like this:-
<?xml version="1.0" encoding="utf-8"?>
<customErrors mode="on" defaultRedirect="/CustomerErrorPages/error.html">
<error statusCode="403" redirect="/CustomerErrorPages/accessdenied.html" />
<error statusCode="404" redirect="/CustomerErrorPages/pagenotfound.html" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<remove namespace="System.Linq" />
<remove namespace="System.ComponentModel.DataAnnotations" />
There's a lot more below that, this is just the (hopefully) relevant bit.
I then restarted the SQL Server Reporting Services service on the server.
Unfortunately it's not working, I just get the usual error messages.
My guess is it's my understanding of how the errors are generated. that's flawed.
Now I have 2 questions:-
1) Is it possible to have custom error pages for SSRS reports?
2) If so, am I going about this the right way or completely wrong?
Any help on this would be greatly appreciated.