You upload a package and configuration file to Windows Azure Management Portal either to create a new service or update an existing deployment and get below error
The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.
Few reasons why you would get this error are
additional reason why it can happens, described in my solution