After upgrading from 3.2 SP3 to 4.0 SP1, when you attempt to access the Identity Server an exception is displayed.
Workaround: To resolve this error, follow the details in TID 7014856.