Wednesday, August 19, 2015

(Solved) Error: 500 - Internal server error

Error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed.

Of course the above line makes no sense. We should return the detailed error to fix it.

To display the detailed error follow the below steps,
  • In Internet Information Services (IIS) Manager select your published site
  • In the right side windows double click the "Error Pages" icon
  • A list of errors will be displayed.
  • Right click and choose the "Edit Feature Setting" on the error status code "500"
  • Select the "Detailed Error" radio button
  • Click Ok
  • Run the application again. You will get the detailed error.