Thursday, April 16, 2009

How to get rid of Unknown Error in Share Point

One of the most common error we face in share point site while building our custom applications would be unknown error. This is a anonying message for any developer.
To overcome this issue, we need to modify the web.config of the share point site.

1)  CallStack attribute to true (by default it is false). This would give us the exact error thrown.

2) Then find customErrors element and change its mode from “On” to “Off

 Save and close the file . Re-run the page.