Fixes #2769. Improved the message when the settings do not work.

Change-Id: Ib960e43aaf040dc8dd43a94feec5027005d5237d