Which of those two web.config examples is yours?
Setting customErrors mode="Off" will allow you to see detailed errors. However, if the error is with the web.config, then you may not see very much detail.
Also, set the Debug="true":
<system.web>
<pages>
<compilation debug="true">
</pages>
</system.web>
Next time, please post the entire error message you receive. Sometimes it is more helpful than you think! :-)
William Eaton, MCSE
iTech Computer Solutions, LLC
www.itechcs.com