In one of my asp.net sites, I set the thread culture equal to the language specified in a user's browser. The code I use to achieve this is pretty lengthy, but in a nutshell if the user's browser language is English-US, the thread culture equals 'en-us'.
Periodically users will report errors with the site. My site logs all errors to the eventlog of the webserver. When I look at the event log I see an error message that looks like this...
...
Message: "Culture en-securid is not supported."
Parameter: name
Source: mscorlib
...
Basically it appears that, for whatever the reason, my asp.net app cannot successfully identify the user's language preference, and therefore cannot set the culture in the application.
What specifically could be causing this to happen? Why is 'en-securid' showing up as the culture?
Thanks.
Periodically users will report errors with the site. My site logs all errors to the eventlog of the webserver. When I look at the event log I see an error message that looks like this...
...
Message: "Culture en-securid is not supported."
Parameter: name
Source: mscorlib
...
Basically it appears that, for whatever the reason, my asp.net app cannot successfully identify the user's language preference, and therefore cannot set the culture in the application.
What specifically could be causing this to happen? Why is 'en-securid' showing up as the culture?
Thanks.