Wednesday, June 2, 2010

How to View Detail Error Message in SharePoint

Many times when we do SharePoint Custom programming ,Boom happen's "An unexpected error occurred".

So how to know the exact cause of error.........
You have to modify your web application Web.Config file as follows...

1. CallStack=”false” changed to CallStack=”true

2. <customErrors mode=”On” /> changed to <customErrors mode=”Off” />

Go ahead.............

No comments:

Post a Comment