[Mono-bugs] [Bug 79162][Nor] New - [2.0] DateTimeFormatInfo cannot be deserialized on .NET 2.0

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 25 11:49:49 EDT 2006


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 gert.driesen at pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=79162

--- shadow/79162	2006-08-25 11:49:49.000000000 -0400
+++ shadow/79162.tmp.20991	2006-08-25 11:49:49.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 79162
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] DateTimeFormatInfo cannot be deserialized on .NET 2.0
+
+When I attempted to build a 2.0 SWF app built on Mono, and run it 
+subsequently on MS.NET (2.0) then the following exception was reported:
+
+System.Reflection.TargetInvocationException: Exception has been thrown by 
+the target of an invocation. --> System.ArgumentException: Culture ID 0 
+(0x000) is not a supported culture.
+Parameter name: culture
+at System.Globalization.CultureTableRecord.GetCultureTableRecord (Int32 
+cultureId, Boolean useUserOverride)
+at System.Globalization.DateTimeFormatInfo.OnDeserialized 
+(StreamingContext ctx)
+.....
+
+Note: the SWF app in question does not use any SWF 2.0 features.
+
+To reproduce:
+
+1. checkout the winforms-tools module from svn:
+
+$ svn co svn+ssh://<user>@mono-cvs.ximian.com/source/trunk/winforms-tools
+
+2. change to the eventvwr directory:
+
+$ cd winforms-tools/eventvwr
+
+3. Built eventvwr using the 2.0 profile:
+
+$ env PROFILE=net_2_0 make
+
+4. copy the resulting assembly (eventvwr.exe) to your Windows box.
+
+5. run it.


More information about the mono-bugs mailing list