On Windows Server 2012 R2 ASP errors are not displayed in browser, instead visitor get a generic error message like.
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.
It links to page
http://go.microsoft.com/fwlink/?LinkID=82731
This error is not helpful, programmers need more detailed error message to fix/debug the issue. To enable ASP Errors, go to
IIS > SERVERNAME
Click on ASP Button. On Next Page, expand debug properties
Set value of Send Errors To Browser options to True.
After this is done, you will get detailed error message in browser.