[Mono-list] Web.config and Custom Configuration Section Handler

Pedro Santos pre@oninetspeed.pt
Mon, 08 Mar 2004 14:14:42 +0000


--=-OiH5LHmXAQRcsBRHUIOi
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I get a:=20

System.Configuration.ConfigurationException: Cannot get Type for
Alnitak.OrionSectionHandler,Alnitak() while XSP is parsing Web.config.

Alnitak.OrionSectionHandler derives from NameValueFileSectionHandler.


<configSections>
  <sectionGroup name=3D"OrionGroup">
    <section name=3D"database"type=3D"Alnitak.OrionSectionHandler,Alnitak"
/>
    <section name=3D"pagePath" type=3D"Alnitak.OrionSectionHandler,Alnitak"
/>
  </sectionGroup>
</configSections>
=09
<OrionGroup>
  <database>
    <add key=3D"connectionString" value=3D"asd" />
  </database>
  <pagePath>
    <add key=3D"basePage" value=3D"/default.aspx" />
  </pagePath>
</OrionGroup>

This works fine with Microsoft .NET. Am I doing something wrong or it's
a bug?

--=20
Pedro Santos <www.psantos.net>
"Si minor plus est ergo nihil sunt omnia..."

--=-OiH5LHmXAQRcsBRHUIOi
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBATH/R00b8YfrkjegRAvEHAJ0ZdiAWWxjqocXxgrnMk9sHwzr89gCgig5W
dM6A7GvS2ZsVrO3v2cLz+zg=
=ZZKR
-----END PGP SIGNATURE-----

--=-OiH5LHmXAQRcsBRHUIOi--