With that change to the web.config you will still get an error, but it's more specific as to what is causing the problem.
Another possibility is your program may have added a tag to the web.config
Look for this tag, <compilation debug="true"> it's probably a little below the customErrors tag,
And it's put in automatically, if using Visual Web Developer, when you click the debug button for the first time.
And change it to true if it's there. These alterations will make your site run slower, so don't forget to put them back when you get it.
Good Luck
Be sure to visit
www.detelli.com to find and list your
Houses for rentAnd please remember to click “Mark as Answer” on the post that helps you.
This can be beneficial to other community members reading the thread.