I have a local V8 project that connects to on online sql DB. Two languages (nl-be and en-be). Works perfect on my local machine. When I publish, it uses the same DB. But I get this error:
Culture is not supported.
Parameter name: name
en-be is an invalid culture identifier.
This isn't a DB or Umbraco issue. It's more of a Windows issue.
If you execute the following code on the server, do you see en-BE listed? If not, you'll need to install that language pack, or if it's a shared host you're going to have to beg your host to install it.
@{
foreach (var culture in System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.SpecificCultures))
{
try
{
ri = new System.Globalization.RegionInfo(culture.Name);
Response.Write($"{culture.DisplayName} | {culture.Name | culture.LCID <br>");
}
catch (Exception ex)
{
Response.Write($"{ex.Message"} <br>");
}
}
}
Sorry for the previous post... I have no idea how it got formatted that way. I know that isn't what I pasted from VS. lol
Server error Culture
Hi,
I have a local V8 project that connects to on online sql DB. Two languages (nl-be and en-be). Works perfect on my local machine. When I publish, it uses the same DB. But I get this error:
Any ideas?
Hiya Josker,
This isn't a DB or Umbraco issue. It's more of a Windows issue.
If you execute the following code on the server, do you see en-BE listed? If not, you'll need to install that language pack, or if it's a shared host you're going to have to beg your host to install it.
Sorry for the previous post... I have no idea how it got formatted that way. I know that isn't what I pasted from VS. lol
is working on a reply...