show the exact error for 500 internal server error code example

Example 1: HTTP Error 500.19 - Internal Server Error

This error can be due to one of below reasons
1. Web.config file contains invalid element
2. If you are using URL rewrite module in your application then URL rewrite module is not installed on your machine

Example 2: how to fix error code 500 internal server error developers

Note: The existence of the 503 status code does not imply that a
      server must use it when becoming overloaded. Some servers may wish
      to simply refuse the connection.