I4 errors on login claiming The required global configuration 'gnpcConfig' is not present (ERR0245)

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Oct/2016, at 16:44

Problem

On sign-in, I4 gives the error The required global configuration 'gnpcConfig' is not present (ERR0245).

Cause

In your appsetting.xml, there's an uncommented line such as:

<!--<add key="Web.AppName" value="gnpc" />-->

Solution

Comment out the line and then retry.