Culture Problem

  •  05-12-2004, 9:42 AM

    Culture Problem

    I have now put your component into production and am running in to a big problem. Users are getting errors like:

     

    Page: /careercenter/CC04SetUpResume.aspx

    System.ArgumentException: Culture name en-securid is not supported.
    Parameter name: name
    at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
    at System.Globalization.CultureInfo.CreateSpecificCulture(String name)
    at CuteEditor.Editor.get_Culture()
    at CuteEditor.Editor.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain()

     

    Now, I know this has something to do with the way their IE culture settings are configured. My problem is, I have no control over that. I need to know how to:

     

    a) Prevent this error

    b) Prempt this error by forcing the culture to be US

    c) Catch this error and gracefully downgrade to a nother, safter user control that I've created.

     

    How do I do this?

View Complete Thread