IIS - Turning the Debug off in the IIS

  1. Open the IIS Manager and navigate to the desired server, site, or application.
  2. In the Features view, double-click the .NET compilation.
  3. On the .NET Compilation page, in the Behavior section, ensure the Debug field is set to False.
  4. When complete, click Apply in the Actions pane.