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()