[Mono-bugs] [Bug 76189][Wis] New - Web.Config uiCulture setting doe not allow "en"

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 06:24:30 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by ximian_bugzilla at davekelly.me.uk.


--- shadow/76189	2005-09-22 06:24:30.000000000 -0400
+++ shadow/76189.tmp.32638	2005-09-22 06:24:30.000000000 -0400
@@ -0,0 +1,95 @@
+Bug#: 76189
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Fedora Core 3
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: ximian_bugzilla at davekelly.me.uk               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Web.Config uiCulture setting doe not allow "en"
+Description of Problem:
+Setting the Web.Config > System.Web > globalization > uiCulture to "en"
+causes an NotSupported Exception. Works in winxp IIS6 with .net 1./1.1.
+This worked in mono 1.1.8 but does not in 1.1.9.
+Steps to reproduce the problem:
+1. Create a web application and set the Web.Config > System.Web >
+globalization > uiCulture to "en":
+<globalization requestEncoding="utf-8" responseEncoding="utf-8"
+culture="en-GB" uiCulture="en" />
+2. Try to run the app through xsp
+Actual Results: With XSP:
+System.NotSupportedException: Culture "en" is a neutral culture. It can not
+be u sed in formatting and parsing and therefore cannot be set as the
+thread's curren t culture.
+Server stack trace:
+in <0x00080> System.Globalization.CultureInfo:CheckNeutral ()
+in <0x0001f> System.Threading.Thread:set_CurrentCulture
+(System.Globalization.Cu ltureInfo value)
+in <0x00070> System.Web.HttpApplication:PreStart ()
+in <0x0001a> System.Web.HttpApplication:Start (System.Object x)
+in <0x00068>
+sRequest (System.Web.HttpContext context, System.AsyncCallback cb,
+System.Object  extraData)
+in <0x000b8> System.Web.HttpRuntime:RealProcessRequest (System.Object o)
+in <0x00026> System.Web.HttpRuntime:ProcessRequest
+(System.Web.HttpWorkerRequest  wr)
+in <0x0000a> Mono.WebServer.MonoWorkerRequest:ProcessRequest ()
+in <0x00043> Mono.WebServer.BaseApplicationHost:ProcessRequest
+(Mono.WebServer.M onoWorkerRequest mwr)
+in <0x0037f> Mono.WebServer.XSPApplicationHost:ProcessRequest (Int32 reqId,
+Int6 4 localEPAddr, Int32 localEPPort, Int64 remoteEPAdds, Int32
+remoteEPPort, System .String verb, System.String path, System.String
+queryString, System.String proto col, System.Byte[] inputBuffer,
+System.String redirect, IntPtr socket, Mono.WebS erver.SslInformations ssl)
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost:Proces sRequest
+in (wrapper xdomain-dispatch)
+Mono.WebServer.XSPApplicationHost:ProcessRequest (
+Exception rethrown at [0]:
+in (wrapper xdomain-invoke)
+Mono.WebServer.XSPApplicationHost:ProcessRequest (in
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost:Proces sRequest
+in <0x0062c> Mono.WebServer.XSPWorker:Run (System.Object state)
+Actual Results: With mod-mono & virtual host:
+Apache Server Error in the browser. No errors reported in server logs
+except for the apache error (500) entry. Should there be something more
+Expected Results:
+No error. It should work!
+How often does this happen? 
+Additional Information:
+A value of "en" should be acceptable. See:
+I am assuming this would error for ather values of "de" etc but I have not
+checked it.

More information about the mono-bugs mailing list