If you're in the UK and you press the "Quebles Display Pictures" link in the
Display Picture dialog, you get this error message,
Server Error in '/' Application.
--------------------------------------------------------------------------------
Culture name 'en-uk' is not supported.
Parameter name: name
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
------------------
Exception Details: System.ArgumentException: Culture name 'en-uk' is not
supported.
Parameter name: name
Source Error:
Line 140: private void SetCulture(String culture) {Line
141: // Set specified culture. There's an additional en-INT culture as we
need to have an international Quebles version.
Line 142: Thread.CurrentThread.CurrentCulture = new CultureInfo(culture);
Line 143: Thread.CurrentThread.CurrentUICulture = new CultureInfo(culture);Line
144:
Source File: c:\internet\root\www\queblesv2\App_Code\QueblesPag e.cs Line:
142
Stack Trace:
[ArgumentException: Culture name 'en-uk' is not supported.
Parameter name: name]
System.Globalization.CultureTableRecord..ctor(Stri ng cultureName, Boolean
useUserOverride) +2907373
System.Globalization.CultureTableRecord.GetCulture TableRecord(String
name, Boolean useUserOverride) +414
System.Globalization.CultureInfo..ctor(String name, Boolean
useUserOverride) +48
System.Globalization.CultureInfo..ctor(String name) +31
QueblesPage.SetCulture(String culture) in
c:\internet\root\www\queblesv2\App_Code\QueblesPag e.cs:142
QueblesPage.InitializeCulture() in
c:\internet\root\www\queblesv2\App_Code\QueblesPag e.cs:108
ASP.dynamic_display_pictures_dynamic_display_pictu res_aspx.__BuildControlTree(dynamic_display_pictur es_dynamic_display_pictures_aspx
__ctrl) in
c:\internet\root\www\queblesv2\dynamic-display-pictures\dynamic-display-pictures.aspx:1
ASP.dynamic_display_pictures_dynamic_display_pictu res_aspx.FrameworkInitialize()
in
c:\internet\root\www\queblesv2\dynamic-display-pictures\dynamic-display-pictures.aspx.cs:912307
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +38
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.dynamic_display_pictures_dynamic_display_pictu res_aspx.ProcessRequest(HttpContext
context) in c:\winnt\Microsoft.NET\Framework\v2.0.50727\Tempor ary ASP.NET
Files\root\a74f0c91\7c272525\App_Web_3lj6tsux.0.cs :0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute()
+358
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously) +64
------------------
I love it! Not that the UK is important or anything! lol
|