[Mono-bugs] [Bug 78337][Maj] New - InvalidCastException when using System.Configuration.ConfigurationManager

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 8 13:17:10 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 dna at informatik.uni-kiel.de.

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

--- shadow/78337	2006-05-08 13:17:09.000000000 -0400
+++ shadow/78337.tmp.6365	2006-05-08 13:17:09.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 78337
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: Debian sid
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: dna at informatik.uni-kiel.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: InvalidCastException when using System.Configuration.ConfigurationManager
+
+When using
+objectXY test =
+System.Configuration.ConfigurationManager.GetSection("mysection");
+i got a InvalidCastException.
+
+System.InvalidCastException: Cannot cast from source to destination type.
+
+This code works finde on Windows/.NET 2.0
+
+I'm using the 1.1.15_2 installer on Debian sid.
+
+A sample Visual Studio 2005 solution is attached.


More information about the mono-bugs mailing list