Hello @Harrison Wood
The error message suggests that the globalization mode is set to invariant, which means that only the invariant culture is supported. This can cause issues when trying to connect to the database. To resolve this issue, you can try setting the globalization mode to auto in your application's configuration file.
Here's an example of how you can do this in the appsettings.json
file:
{
"ConnectionStrings": {
"AZURE_SQL_CONNECTIONSTRING": "Server=tcp:.database.windows.net,1433;Initial Catalog=;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;Authentication=Active Directory Default;"
},
"Globalization": {
"SupportedCultures": ["en-US"],
"SupportedUICultures": ["en-US"],
"RequestLocalizationOptions": {
"DefaultRequestCulture": {
"Culture": "en-US",
"UICulture": "en-US"
},
"SupportedCultures": ["en-US"],
"SupportedUICultures": ["en-US"]
}
}
}
In this example, we have added a Globalization section to the appsettings.json
file, which specifies the supported cultures and UI cultures. We have also set the RequestLocalizationOptions
to use the en-US culture by default. You can also try setting the globalization mode to auto in the web.config
file, if you are using ASP.NET.