[Mono-list] No child nodes...

Corey Hart chart3399 at yahoo.com
Thu Feb 19 11:45:25 EST 2009


Hi Balint,

Thanks you for the quick reply.  Here is what is located in my web.config. I'm not sure what is valid under mono and what isn't.

Sorry for my ignorance.

<pages>
   <namespaces>
   <clear/>
      <add namespace="System"/>
      <add namespace="System.Collections"/>
      <add namespace="System.Collections.Specialized"/>
      <add namespace="System.Configuration"/>
      <add namespace="System.Text"/>
      <add namespace="System.Text.RegularExpressions"/>
      <add namespace="System.Web"/>
      <add namespace="System.Web.Caching"/>
      <add namespace="System.Web.SessionState"/>
      <add namespace="System.Web.Security"/>
      <add namespace="System.Web.Profile"/>
      <add namespace="System.Web.UI"/>
      <add namespace="System.Web.UI.WebControls"/>
      <add namespace="System.Web.UI.WebControls.WebParts"/>
      <add namespace="System.Web.UI.HtmlControls"/>
   </namespaces>
</pages>

Thanks,

...corey

--- On Thu, 2/19/09, Bálint Kardos <kardosbalint at gmail.com> wrote:

> From: Bálint Kardos <kardosbalint at gmail.com>
> Subject: Re: [Mono-list] No child nodes...
> To: "Corey Hart" <chart3399 at yahoo.com>
> Cc: mono-list at lists.ximian.com
> Date: Thursday, February 19, 2009, 10:38 AM
> hi, you've a badly formatted web.config file, something
> errorous in the
> <pages> section.
> 
> üdvözlettel
> with regards
> 
> Kardos Bálint
> _______________________________________
> http://skaelede.hu 10 (0xA) év a magyar weben
> 
> 
> On Thu, Feb 19, 2009 at 17:27, Corey Hart
> <chart3399 at yahoo.com> wrote:
> 
> >
> > All,
> >
> > I'll admit I am brand new to mono.  I'm trying
> to get a hunk of code
> > working for a customer that works under win03 and
> win08 under IIS but they
> > want to move it over to linux / mono environment.
> >
> > I've hit the googles and only found a few
> references to this error and in
> > most of the cases there was not really any resolution.
>  Any help is
> > appreciated.
> >
> > No child nodes allowed here. (node name: pages)  ()
> > Description: HTTP 500. Error processing request.
> > Stack Trace:
> > System.Configuration.ConfigurationException: No child
> nodes allowed here.
> > (node name: pages)  ()
> >  at
> System.Web.Configuration.HandlersUtil.ThrowException
> (System.String
> > msg, System.Xml.XmlNode node) [0x00000]
> >  at
> System.Web.Configuration.PagesConfigurationHandler.Create
> > (System.Object parent, System.Object configContext,
> System.Xml.XmlNode
> > section) [0x00000]
> >  at
> System.Web.Configuration.ConfigurationData.GetConfigInternal
> > (System.String sectionName, System.Web.HttpContext
> context, Boolean useLoc)
> > [0x00000]
> >  at
> System.Web.Configuration.ConfigurationData.GetConfigOptLocation
> > (System.String sectionName, System.Web.HttpContext
> context, Boolean useLoc)
> > [0x00000]
> >  at
> System.Web.Configuration.ConfigurationData.GetConfig
> (System.String
> > sectionName, System.Web.HttpContext context) [0x00000]
> >  at
> System.Web.Configuration.WebDefaultConfig.GetConfig
> (System.String
> > sectionName, System.Web.HttpContext context) [0x00000]
> >  at
> System.Web.Configuration.WebConfigurationSettings.GetConfig
> > (System.String sectionName, System.Web.HttpContext
> context) [0x00000]
> >  at System.Web.HttpContext.GetConfig (System.String
> name) [0x00000]
> >  at
> System.Web.Configuration.PagesConfiguration.GetInstance
> > (System.Web.HttpContext context) [0x00000]
> >  at System.Web.UI.TemplateParser.get_PagesConfig ()
> [0x00000]
> >  at
> System.Web.UI.TemplateControlParser.LoadConfigDefaults ()
> [0x00000]
> >  at System.Web.UI.PageParser.LoadConfigDefaults ()
> [0x00000]
> >  at System.Web.UI.TemplateParser..ctor () [0x00000]
> >  at System.Web.UI.TemplateControlParser..ctor ()
> [0x00000]
> >  at System.Web.UI.PageParser..ctor (System.String
> virtualPath,
> > System.String inputFile, System.Web.HttpContext
> context) [0x00000]
> >  at System.Web.UI.PageParser.GetCompiledPageInstance
> (System.String
> > virtualPath, System.String inputFile,
> System.Web.HttpContext context)
> > [0x00000]
> >  at System.Web.UI.PageHandlerFactory.GetHandler
> (System.Web.HttpContext
> > context, System.String requestType, System.String url,
> System.String path)
> > [0x00000]
> >  at System.Web.HttpApplication.GetHandler
> (System.Web.HttpContext context,
> > System.String url) [0x00000]
> >  at
> System.Web.HttpApplication+<>c__CompilerGenerated1.MoveNext
> ()
> > [0x00000]
> >
> > Version information:  Mono Version: 1.1.4322.2032;
> ASP.NET Version:
> > 1.1.4322.2032
> >
> >
> > Thanks,
> >
> > ...corey
> >
> >
> >
> >
> > _______________________________________________
> > 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