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
Thanks, this article saved my quite some time. I had a Service Configuration that had encoding="utf-16" and Azure wasn't accepting this. Until i've changed it to utf-8.