I\'m running an application that has its own error handlers. Error pages are displayed properly while testing in dev environment (error pages are displayed properly).
Howe
There is a setting in the applications Web.config file to set the debug mode:
Default is:
Try setting it to "Off" (Note: the value is case sensitive!)
I'm not sure if this setting is respected by IIS7, but since you see different behaviour on your development environment from the deployed, this was my fist guess. To test if this is the case, you can try to run your dev app from a different machine in your network if you have that possibility.