Error 500 Internal Server Error: what does it mean?

Your site on Windows hosting gives an "Error 500 - Internal Server Error. There is a problem with the resource you are looking for, and it cannot be displayed.".
What to do?


It's a generic error message, which gives you no detail about the cause of the issue, so you don't know what to do to fix it.

To display error details, you need to:

  1. edit web.config file
  2. insert following line of code:
    <httpErrors errorMode="Detailed" />
    just before  </system.webServer> tag
  3. save the file
  4. refresh web page to see error details
NOTE: after having fixed the issue, delete from web.config the line of code you inserted: displaying always detailed error messages on Windows hosting is a security issue!

See also: https://support.microsoft.com/it-it/help/311766/how-web-site-administrators-can-troubleshoot-an-http-500---internal-server-error-error-message-on-iis-4.0-or-on-iis-5.0 

Was this answer helpful?

Also Read

What is my absolute path?

BEWARE: This applies only to our following hosting plans:Windows BasicWindows ProWindows...

Come reindirizzare il visitatore da http:// ad https:// in Plesk

Se sul vostro sito è attivo un qualsiasi certificato SSL, può essere conveniente fare in modo che...

What is "Dedicated IIS Application pool"?

"IIS application pool" is a Plesk feature, which serves websites and web applications hosted on a...

Posso usare FrontPage?

Microsoft FrontPage è un vecchio editor HTML, abbandonato da Microsoft nel 2007.Non viene più...

Come attivare SSL (https) sui piani hosting Windows di DomainRegister

Implementare SSL sul proprio sito, e fornire quindi ai propri utenti un accesso https protetto da...