The web. config file must be present in the deployed app’s content root location (usually the app base folder).