Turn on detailed error messages in SharePoint

Step 1: Go to the SharePoint host server and navigate to the Virtual Directories folder. Normally this is available in this path “C:\Inetpub\wwwroot\wss\VirtualDirectories”

Step 2: Find the web.config and get the backup for the safety purpose

Step 3: Open the web.config file using Visual Studio OR Notepad

Step 4: Find the “CallStack” and change the value to “true” instead of “false”

Step 5: Find the “CustomErrors” and change the value to “Off” instead of “On”

Step 6: Save and close the web.config, refresh the page then you will get the detailed (wired) error message.