Culture is not supported. (Parameter 'name') aa is an invalid culture identifier

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
allevi72
User
Posts: 1

Culture is not supported. (Parameter 'name') aa is an invalid culture identifier

Post by allevi72 »

when I publish the site to IIS I get the following error.
The error does not occur when I use http.sys during development

CultureNotFoundException: Culture is not supported. (Parameter 'name') aa is an invalid culture identifier.
System.Globalization.CultureInfo.GetCultureInfo(string name)
System.Globalization.CultureData.IcuEnumCultures(CultureTypes types)
System.Globalization.CultureData.GetCultures(CultureTypes types)
System.Globalization.CultureInfo.GetCultures(CultureTypes types)
ASPNETMaker2022.Models.PortaleEon.IsValidLocaleId(string id) in aspnetfn.cs
ASPNETMaker2022.Models.PortaleEon+Lang..ctor(string langId) in Lang.cs
lambda_method888(Closure , object[] )
Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()


MichaelG
User
Posts: 1095

Post by MichaelG »

allevi72 wrote:

CultureNotFoundException: Culture is not supported. (Parameter 'name') aa is an invalid culture identifier.

As the error said, "aa" is an invalid culture identifier. Make sure you use an correct language ID in your language file.

If you believe your language ID is valid, uncheck the Tools -> Advanced Settings -> Local ICU setting and try again.


Post Reply