Host process crashes in the Microsoft Azure Emulator when the System Locale is set to Turkish

Debugging or running a Microsoft 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:

Microsoft 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:

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.Parameters..ctor()
at Microsoft.WindowsAzure.Hosts.Worker.Loader.Main(String[] args)

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 Microsoft Azure Worker Host has stopped working

In both the scenarios, the following lines are missing from the configuration file:

<Resource name="temp" type="temp" sticky="false" path="temp\" disableQuota="false" /><Resource name="compCache" type="iisCompressionCache" sticky="false" path="compCache\" disableQuota="false" /><Resource name="aspNetTemp" type="aspNetTemp" sticky="false" path="aspNetTemp\" disableQuota="false" />

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 Microsoft 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 Microsoft Azure Emulator (Right click on the Microsoft Azure Simulation Environment icon in the system tray and select Exit)

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2589199 - Last Review: 10/09/2014 00:33:00 - Revision: 5.0

Microsoft Azure Developer, Microsoft Azure cloud services

  • kbtshoot KB2589199