Anybody who works with SharePoint has seen the following “Awesome” message…
An unexpected error has occurred
There’s more detail to be had with a simple tweak of the web.config in both MOSS SharePoint 2007 and SP2010.
Navigate to your virtualdirectory, typically here: c:inetpubwwwrootwssVirtualDirectories and then to the folder for your web application.
Opening the web.config in Notepad++ or any other editor and search for the following tags (there is only one of each):
Note: change them to the below: