Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem w/ Culture in System.Globalization

Status
Not open for further replies.

Mike555

Technical User
Feb 21, 2003
1,200
US
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.
 
Yes.

Interestingly enough, I've noticed this pattern occuring with AOL users. I'll have to look into the AOL browser to see how/why it may be different than IE/Firefox as it relates to culture.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top