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