What is and how to fix error: SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used
Have you spent your hours getting rid of the following exception ? I have. So in this article, I am trying to save you time. The first thing to do is to explain why this error occurs.Azure application runs in Full IIS model from SDK 1.3 onwards. In simple English we can say that from SDK 1.3 onward WebRole.cs and Web Application code run in a different application domain. So if we write or have code to Set Configuration setting in WebRole.cs then we are going to get the exception above.How to solve?
The Developer’s Guide to Microsoft Azure - Second Edition