[Mono-dev] OpenID Samples fail using xsp2

Gert Driesen gert.driesen at telenet.be
Thu Jun 26 09:49:16 EDT 2008


Hey Valentin,

Bug number is #403583. I've committed a fix in SVN (revision 106628).

Gert

-----Original Message-----
From: Valentin Sawadski [mailto:valentin.sawadski at googlemail.com] 
Sent: donderdag 26 juni 2008 14:19
To: Gert Driesen
Cc: mono-devel-list at lists.ximian.com
Subject: RE: [Mono-dev] OpenID Samples fail using xsp2

Hi Gert,

thanks for looking into this matter, and could you please tell me the number
of the bug so that I can check it's progress and help you if you need more
info.

Regards,
Valentin

On Wed, 2008-06-25 at 09:00 +0200, Gert Driesen wrote:
> Hey Valentin,
> 
> This is a bug in DiagnosticsConfigurationHandler. I'll submit a bug 
> report for this, and fix it.
> 
> Gert
> 
> -----Original Message-----
> From: mono-devel-list-bounces at lists.ximian.com
> [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of 
> Valentin Sawadski
> Sent: dinsdag 24 juni 2008 23:45
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-dev] OpenID Samples fail using xsp2
> 
> Hi,
> 
> I wanted to tinker a bit with OpenID today and as always I tried the 
> samples first (RelyingPartyPortal - to be precise).
> 
> However, when I start xsp2 within my samples directory and navigate my 
> browser to http://localhost:8080, I get the following error:
> 
> Unrecognized attribute 'traceOutputOptions' on element <add/>. ()
> Description: HTTP 500. Error processing request.
> Stack Trace: 
> System.Configuration.ConfigurationException: Unrecognized attribute 
> 'traceOutputOptions' on element <add/>. ()
>   at
> System.Diagnostics.DiagnosticsConfigurationHandler.ThrowUnrecognizedAt
> tribut e (System.String attribute, System.Xml.XmlNode node) [0x00000]
>   at
> System.Diagnostics.DiagnosticsConfigurationHandler.ValidateInvalidAttr
> ibutes (System.Xml.XmlAttributeCollection c, System.Xml.XmlNode node) 
> [0x00000]
>   at 
> System.Diagnostics.DiagnosticsConfigurationHandler.AddTraceListeners
> (IDictionary d, System.Xml.XmlNode listenersNode, 
> System.Diagnostics.TraceListenerCollection listeners) [0x00000]
>   at System.Diagnostics.DiagnosticsConfigurationHandler.AddTraceNode
> (IDictionary d, System.Xml.XmlNode node) [0x00000]
>   at System.Diagnostics.DiagnosticsConfigurationHandler.Create
> (System.Object parent, System.Object configContext, System.Xml.XmlNode
> section) [0x00000]
>   at System.Configuration.ConfigurationSection.GetRuntimeObject ()
[0x00000]
>   at System.Configuration.ConfigurationSection.GetRuntimeObject ()
[0x00000]
>   at (wrapper managed-to-native) 
> System.Reflection.MonoMethod:InternalInvoke
> (object,object[])
>   at System.Reflection.MonoMethod.Invoke (System.Object obj, 
> BindingFlags invokeAttr, System.Reflection.Binder binder, 
> System.Object[] parameters, System.Globalization.CultureInfo culture) 
> [0x00000]
> 
> The Web.config file contains the following part:
> <trace autoflush="true" indentsize="4">
> 	<listeners>
> 		<add name="fileLogger"
> type="System.Diagnostics.TextWriterTraceListener"
> initializeData="openidConsumerTrace.txt" traceOutputOptions="None"/>
> 	</listeners>
> </trace>
> 
> But now comes the funny part. Once I see the error and hit Reload, it 
> disappears, and the Sample works as expected.
> 
> Any ideas what went wrong?
> Kind Regards and thanks in advance,
> Valentin
> 



More information about the Mono-devel-list mailing list