Problem

If you run into a scenario where you have modified the web.config file on the root IIS Site to output the stack trace and and in addition you have switched your customErrors=off but still cannot see the stack trace, what do you do?

Solution

You can temporarily modify the web.config file located under the virtual directory _layouts, restart IIS and you should see the error details at that point.

Hope this helps,

-Oscar