Of course, in production this should be turned on so that the end user gets a friendly error page, giving them a nicer experience, and perhaps an email form or some help desk phone numbers. This also prevents malicious users from getting more info than you want them to have.
However, in sharepoint, something else must be done in order to get helpful error messages.
Again, when going live, these settings should be changed to "false", but having them set to true will give you some of the same error messages you would see if you are working .NET.
On a side note, another resource for error messages are the SharePoint Logs, located in the 12 hive in the Logs directory. An additionally handy thing about the logs is that they can be opened with excel, which makes them a bit more readable, and also sortable.
No comments:
Post a Comment