The Problem
When you try to load the web application you get the following error:
Can’t load localization file for language: en-us, error –
The Solution
Open CMD and run the following commands as an Administrator:
%systemroot%\system32\inetsrv\APPCMD unlock config -section:system.webServer/httpCompression
%systemroot%\system32\inetsrv\APPCMD unlock config -section:system.webServer/serverRuntime
If the problem still persists open the IIS Manager.
Select the server (located on the top-left of the page) and then in the right panel identify the .NET Globalization. Select it and make the following changes:
- Culture: English (United States) (en-US)
- Enable Client Based Culture: False
- UI Culture: English (United States) (en-US)
- File: utf-8
- Requests: utf-8
- Response Headers: utf-8
- Responses: utf-8
Check the IIS configuration for Windows 10.