How to see the detailed error of ASP

When I test a ASP page today, I got a 500 error.
No detailed information displayed can help me.
Now if you meet the same thing, check following:
Normally error 500 is program error, or asp language error.
You can change your IE settings to show you detail.
1)Click IE tool bar, Tools > Internet Options;
2)Select tab “Advanced”, under “browsing”, find “show friendly HTTP error messages”, remove checkbox.(default is checked)
3)Run your asp program, IE will show you detailed error information, including line ##, which error.