Enable/Disable Custom Error by editing Web.Config using PowerShell

To reveal actual errors in SharePoint, we used to turn off custom error page by editing web.config file, located in the root of SharePoint virtual directory. Open the web.config in Notepad Search for “CallStack”, Change it from “false” to “true” Search for “CustomErrors mode”, Change its value from “On” to “Off” Save…

Read more