Article ID: 2589199 - View products that this article applies to.
Debugging or running a Windows Azure Cloud Services project in the Compute Emulator, when the System Locale is set to Turkish, causes the WaIISHost.exe process to crash.
If you start debugging a Web Role, depending on your system settings, the WER dialog displays the message:
Windows Azure Web Role Entry Point Host has stopped working.
If you start debugging a worker role, the Visual Studio Exception Dialog displays the following exception:
If you are running the worker role application, the waworkerhost.exe process crashes and depending on your system settings, the WER dialog displays the message:
Microsoft.WindowsAzure.Hosts.Worker.RuntimeEnvironmentException was unhandled
Message=Unable to load the runtime environment: could not get hosting environment settings
at Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(String args)
Microsoft Windows Azure Worker Host has stopped working
In both the scenarios, the following lines are missing from the configuration file:
The configuration file is located here:
%USERPROFILE%\AppData\Local\dftmp\s0\<deployment id>\config\<instance id>.cfg
(If you have set the _CSRUN_STATE_DIRECTORY environment variable, look for the configuration file in the folder that the _CSRUN_STATE_DIRECTORY environment variable points to).
This is because of a problem in the Windows Azure Compute Emulator and the host processes when the System Locale is set to Turkish. This issue is scheduled to be fixed in an upcoming SDK release.
To resolve the issue, change the Format under Region and Language settings to English (United States).
To change the Format, do the following:
1) Go to the Start Menu and select Control Panel
2) Select Region and Language
3) Change the Format to English (United States)
4) Stop the Windows Azure Emulator (Right click on the Windows Azure Simulation Environment icon in the system tray and select Exit)
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.