This makes it impossible to troubleshoot the error since correlation id is not available. Is there some setting I need to change to get the "Sorry, something went wrong page" with correlation id like the one below?
Error page itself states what needs to change. Problem is with setting of your site's
- Locate web.config for your site.
You find it at below path
Drive\Inetpub\Wwwroot\WSS\VirtualDirectories\<port number of your web-application>\web.config
Open a notepad with administrator privileges (right click and run as admin)
- Use open command, move to the path of web.config.
- Open web.config of you site.
- Search for CustomError keyword/tag
- Change its mode property to "
Correlation IDs are generated from SharePoint processes. That Yellow Screen of Death was thrown by custom code. With custom code the developer is generally responsible for proper exception handling, including redirecting to a custom error page, displaying a helpful message to the end user, and logging pertinent details. Unless that custom code is written explicitly to log exception details to the SharePoint logs, there will be nothing there for you to find.
For non-production environments you can disable custom error and output the stack trace to the page. The process is somewhat involved, you can read about it here: https://cann0nf0dder.wordpress.com/2013/01/11/debugging-sharepoint-2010-_layout-pages-and-turn-off-custom-errors/