I've written a web service and implented some exception handling withing my code. When I debug the services the exception handling works as planned, the catch clause handles the exception. The problem is that when I deploy to a production IIS 7 web server the exception handling in my code does not appear to be trapping any errors. It appears that IIS is trapping the errors and returns back a 500 error.
Is there a setting in web.config to prevent this from happening or is there some configuration change in II7 that need to happen to prevent my error handling from being overridden?
View Complete Post