I have the following settings in my Web.Config
<customErrors mode="Off" />
But still detailed errors are not shown (the default error message asking us to make the above changes to show detailed error). These settings seem to work for MOSS 2007 but not for SharePoint 2010. I have the same issue with two different servers.