After I deployed my ASP.NET WebRole to Azure and looked at Azure Intellitrace, I noticed a lot of RoleEnvironment exceptions, and they happen in RoleEnvironment.IsEmulated.
I thought there was something in ServiceConfiguration because the next-last call to stacktrace is always RoleEnvironment.GetConfigurationSettingValue.
Now I searched for this problem, but did not find anything but this link:
http://bretstateham.com/azure-serviceconfiguration-cscfg-changes%E2%80%A6/
But my service configuration is correct. I think customization? IsSimulationEnvironment? Azure should be created, but not in my case due to exceptions.
And I can not put "IsSimulationEnvironment"? Manual installation in my configuration because it does not match the xml namespace of the serviceconfiguration service.
Has anyone figured out how to solve this annoying problem?
Heman source share