1. Navigate to the site directory.
2. Open web.config.
3. Switch Custom Errors off. Search for “customErrors” and set the value to “Off” instead of “On”.
4. Enable CallStack. Search for “CallStack” and set the value to “true” instead of “false”.
5. Save web.config.