[Mono-list] Web.config and Custom Configuration Section Handler
Gonzalo Paniagua Javier
gonzalo@ximian.com
Mon, 08 Mar 2004 12:05:03 -0500
El lun, 08-03-2004 a las 09:14, Pedro Santos escribió:
> I get a:
>
> System.Configuration.ConfigurationException: Cannot get Type for
> Alnitak.OrionSectionHandler,Alnitak() while XSP is parsing Web.config.
>
> Alnitak.OrionSectionHandler derives from NameValueFileSectionHandler.
>
>
> <configSections>
> <sectionGroup name="OrionGroup">
> <section name="database"type="Alnitak.OrionSectionHandler,Alnitak"
> />
> <section name="pagePath" type="Alnitak.OrionSectionHandler,Alnitak"
> />
> </sectionGroup>
> </configSections>
>
> <OrionGroup>
> <database>
> <add key="connectionString" value="asd" />
> </database>
> <pagePath>
> <add key="basePage" value="/default.aspx" />
> </pagePath>
> </OrionGroup>
>
> This works fine with Microsoft .NET. Am I doing something wrong or it's
> a bug?
mono couldn't find Alnitak.dll. It should be available (watch out case)
in one of the directories in MONO_PATH.
-Gonzalo