If developers hit an error “SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used” in cloud application that has shown as below.
Most of the developers will troubleshoot their code.
Take a step back and look carefully what had happened before the Internet Explorer launch.
ASP.NET Development Server was running. In cloud application we want to see Development Fabric is running but not ASP.NET Development Server.
For this example the GuestBook_workrole is not supposed to be the start up project for this solution.
Let’s change the startup project to GuessBook for this example.
Let’s rerun the solution.
This time the AppFabric has started but not the ASP.NET Development Server and that was actual the right reaction on cloud application. So it has nothing to do with the code. Hope this will help you if you run into the same problem.