[Mono-dev] Unable to work with Configuration files

Sebastien Pouliot sebastien.pouliot at gmail.com
Tue Oct 26 20:01:25 EDT 2010


On Tue, 2010-10-26 at 15:03 -0700, vinay_rk wrote:
> What I' am doing in my AppConfig is define custom sections like this :
> 
> <configuration>
>   <configSections>
>     <section name="CustomSectionName"
> type="FullQualifiedNameOfCustomSectionHandler"/>
>    ---------
>    -------------
> 
> The custom handler derives from System.Configuration.ConfigurationSection. 
> There is no other third party library used here. 

well afaik Mono does not provide a class named BaseConfigurationRecord,
so everything under this (in the previous stack trace) comes from your
code (or 3rd party code). Therein lies the culprit ;-)

> About the
> WindowsIdentity.Impersonate, I' am completely baffled at why there is any
> Impersonation happening under the hood here....
> 
> What do you suspect is happening.. ?

Our definition* of 3rd party could be different - I meant not "not Mono"
and "not your code". I'm 100% sure Mono does not use WindowsIdentity
anywhere (except providing it inside corlib and some unit tests) so I
suspect the problem is in your code (or the extra, third party, code
you're using).

Sebastien

* and that includes any Microsoft .NET assembly you could be using under
Mono



More information about the Mono-devel-list mailing list