I'm using Visual Studio 2012 Ultimate version.
I've got this error and I don't know how to solve it.
Culture is not supported. Parameter name: name en-UK is an invalid culture identifier.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Globalization.CultureNotFoundException: Culture is not supported. Parameter name: name en-UK is an invalid culture identifier.
please help me
You should try en-GB
for English (United Kingdom)
Go to Debug -> Options -> Debugging and tick "Enable Just My Code"
In my case with IIS Express, it was caused by its inability to write to C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
as IIS Express runs by a current user. So I've added permission to write to it for the current user to solve the error.
来源:https://stackoverflow.com/questions/14425291/culture-is-not-supported