[Mono-list] Strange Behavior

Atsushi Eno atsushi at ximian.com
Tue Jul 25 12:18:08 EDT 2006


OK so some questions to clarify the problem:

- How "before" was your code working fine?
- What are the full stack trace lines hopefully with "mono --debug" ?

My optimistic guess is that it will work fine with 1.1.16 since
there was a couple of support for 2.0 System.Configuration support
in svn head.

Atsushi Eno

Mike Geise wrote:
> Ok so one of my classes that I use for localization worked before and now it doesnt?
> 
> I get a Object reference not set to an instance of an object
> error now.
> 
> you can see the class here,
> 
> http://www.nfscars.net/misc/LocalizationConfiguration.cs.txt
> 
> And this is what I have in my web.config,
> 
>   <configSections>
>     <sectionGroup name="Localization">
>       <section name="Localization" 
>        type="NetCoders.Components.LocalizationConfigurationHandler, NetCoders.Components" />
>     </sectionGroup>
>   </configSections>
> 
>   <Localization>
>     <Localization defaultCulture="en-US" />
>   </Localization>
> 
> Basically it seems the LocalizationConfigurationHandler object Create isn't being called but I have no idea why?
> 
> so when i try and call LocalizationConfiguration.GetConfig().DefaultCultureName I get that object reference error.
> 
> I am running FreeBSD 5.4 and Mono 1.1.13.6
> 
> Anyone have any idea's?
> 
> Thanks, Mike
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list