Using .net 4.0 , IIS 7.4 Windows Server 2008 R2
I have an asp.net application that sits between WCF web services and routes the requests according to some rules.
The iis error page setting is set to 'Detailed errors for local requests and custom ....'
the asp.net routing service calls the WCF service using HttWebRequest object.
I am getting an iis html error response when wcf service throws a fault exception.
but i get a proper IIS 500 error with a proper soap response when i call the service directly (without the router)
I know i can fix it by changing IIS error page setting, but i dont want to do that since it would expose my non wcf errors.
is there a difference in how iis treats wcf requests vs asp.net request when it comes to 500 errors
also this used to work in IIS 6, how to get this behavior back in iis 7
View Complete Post