Friday, 10 October 2008

Seeing decent error messages in Sharepoint

I dont know about anyone else but I am sick of seeing:

"An error has occurred"

in Sharepoint then having to look in the logs to see what the error is.

I just found out that if you set CallStack="true" in the relevant sites web.config you get the error on the screen. How easy is that!!!

I knew this already but you can also turn on tracing which will provide lots more info.