Change the Compilation Debug Flag

  • Updated

After debugging a website or moving over settings from a configuration file, the compilation debug key is set to true or left as true by mistake in a production environment. The key is not recommended to be set to true in a production environment as it can cause some severe performance issues.

To check to see if the key is set and to disable it, please follow these steps.

  1. Open the web.config file in the site root
  2. Search for
  3. If the value is set to true, change it to false.
  4. Repeat steps 1-3 for the web.config file located in the /workarea folder in the site root as well.