[Mono-bugs] [Bug 77957][Nor] New -
System.Configuration.ApplicationSettingsGroup type missing
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Mar 30 03:31:32 EST 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 david_reist at hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77957
--- shadow/77957 2006-03-30 03:31:32.000000000 -0500
+++ shadow/77957.tmp.17098 2006-03-30 03:31:32.000000000 -0500
@@ -0,0 +1,134 @@
+Bug#: 77957
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: Windows XP Prof
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: david_reist at hotmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.Configuration.ApplicationSettingsGroup type missing
+
+It seems that System.Configuration.ApplicationSettingsGroup is not
+implemented yet (Mono-1.1.13.6).
+
+--- The exception was:
+
+C:\test>mono test.exe
+log4net:ERROR LogLog: Exception while reading ConfigurationSettings. Check
+your .config file is well formed XML.
+
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for Test
+---> System.TypeInitializationException: An exception was thrown by the
+type initializer for log4net.Core.LoggerManager --->
+System.TypeInitializationException:
+ An exception was thrown by the type initializer for log4net.Util.LogLog
+---> System.Configuration.ConfigurationException: Unrecognized attribute.
+(C:\test\test.exe.config line 6)
+in <0x00043> System.Configuration.ConfigurationData:ThrowException
+(System.String text, System.Xml.XmlTextReader reader)
+in <0x0008d> System.Configuration.ConfigurationData:ReadSectionGroup
+(System.Xml
+.XmlTextReader reader, System.String configSection)
+in <0x00109> System.Configuration.ConfigurationData:ReadSections
+(System.Xml.Xml
+TextReader reader, System.String configSection)
+in <0x00098> System.Configuration.ConfigurationData:ReadConfigFile
+(System.Xml.X
+mlTextReader reader)
+in <0x000a6> System.Configuration.ConfigurationData:Load (System.String
+fileName
+)--- End of inner exception stack trace ---
+
+in <0x00000> <unknown method>
+in <0x0003d> log4net.Core.LoggerManager:.cctor ()--- End of inner exception
+stac
+k trace ---
+
+in <0x00000> <unknown method>
+in <0x0000f> log4net.LogManager:GetLogger (System.Reflection.Assembly
+repository
+Assembly, System.String name)
+in <0x00026> log4net.LogManager:GetLogger (System.Type type)
+in <0x00019> test:.cctor ()--- End
+ of inner exception stack trace ---
+
+--- The problem is in line 6 in test.exe.config:
+<sectionGroup name="applicationSettings"
+type="System.Configuration.ApplicationSettingsGroup, System,
+Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
+
+--- The content of test.exe.config was:
+
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <!-- Register a section handler for the log4net section -->
+ <configSections>
+ <section name="log4net" type="System.Configuration.IgnoreSectionHandler" />
+ <sectionGroup name="applicationSettings"
+type="System.Configuration.ApplicationSettingsGroup, System,
+Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
+ <section name="test.Properties.Settings"
+type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0,
+Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+ </sectionGroup>
+ </configSections>
+ <!-- This section contains the log4net configuration settings -->
+ <log4net>
+ <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
+ <layout type="log4net.Layout.PatternLayout">
+ <conversionPattern value="%date [%thread] %-5level %logger
+(%property{log4net:HostName}) [%ndc] - %message%newline" />
+ </layout>
+ </appender>
+ <appender name="LogFileAppender" type="log4net.Appender.FileAppender">
+ <file value="test.log" />
+ <appendToFile value="true" />
+ <layout type="log4net.Layout.PatternLayout">
+ <header value="FILE HEADER
" />
+ <footer value="FILE FOOTER
" />
+ <conversionPattern value="%date [%thread] %-5level %logger
+(%property{log4net:HostName}) [%ndc] - %message%newline" />
+ </layout>
+ </appender>
+ <root>
+ <level value="DEBUG" />
+ <appender-ref ref="ConsoleAppender" />
+ <appender-ref ref="LogFileAppender" />
+ </root>
+ </log4net>
+ <system.runtime.remoting>
+ <application name="Log4netRemotingServer">
+ <!-- We need to define the remoting channels on which we will publish
+ the remote logging sink. -->
+ <channels>
+ <channel displayName="Server Channel" ref="tcp server" port="8085" />
+ </channels>
+ </application>
+ </system.runtime.remoting>
+ <system.web>
+ <customErrors defaultRedirect="url" mode="Off">
+ </customErrors>
+ </system.web>
+ <applicationSettings>
+ <test.Properties.Settings>
+ <setting name="ConfigurationFile" serializeAs="String">
+ <value>config.xml</value>
+ </setting>
+ <setting name="ConfigurationSchema" serializeAs="String">
+ <value>config.xsd</value>
+ </setting>
+ <setting name="ConfigurationDirectory" serializeAs="String">
+ <value>..\Configuration</value>
+ </setting>
+ </test.Properties.Settings>
+ </applicationSettings>
+</configuration>
More information about the mono-bugs
mailing list