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: 

Was this answer helpful?

Also Read

What is "Dedicated IIS Application pool"?

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

Favicon: what is it, how to do it

What is a favicon? A favicon (short for favorite icon), also known as a shortcut icon, website...

Posso usare FrontPage?

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

What is my absolute path?

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

How to restart MySQL service in Plesk

To restart MySQL service in Plesk: login in Plesk select "Server management" => "Tools...