An unhandled exception has occurred while executing the request.
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode is Fixed!
This video shows how to fix the .Net Core 8 | EF 8 error with latest .Net 8 SDK.
" An unhandled exception has occurred while executing the request.
System.Globalization.CultureNotFoundException: Only the invariant culture is supported in globalization-invariant mode. See https://aka.ms/GlobalizationInvariant... for more information. (Parameter 'name')
en-us is an invalid culture identifier.
at System.Globalization.CultureInfo.GetCultureInfo(String name)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.InternalOpenAsync(CancellationToken cancellationToken)"
Please post your questions in the comment section and I will be happy to answer your questions.
Subscribe for more useful videos just like this: / @learnsmartcoding
Happy coding!