
An unhandled exception of type 'System.Configuration.ConfigurationException'
I found my problem. I needed to change the assembly name
of the project that contained my config files. I simply
had it as "Support" when it should have
been "CompanyName.Product.Support"
Thanks anyway. Hope this helps someone in the future.
Tobin Titus, MCSD
Brainbench.com MVP
www.brainbench.com
Quote:
>-----Original Message-----
>I have an Enterprise Template Project for which I have
>a "WindowsUI" and a "Support" project.
>Under the support project is a namespace
>called "Configuration".
>Under the configuration namespace I have written a
>configuration section handler.
>When I call ConfigurationSettings.GetConfig(configPath) I
>get the following error:
><snip>
>An unhandled exception of
>type 'System.Configuration.ConfigurationException'
>occurred in system.dll
>Additional information: Could not create
>CompanyName.Product.Support.Configuration.MarsSeries3000Co
n
>figSectionHandler, CompanyName.Product.Support.
></snip>
>I have tried various changes to the type/assembly but to
>no avail.
>Anyone have this problem before?
>Tobin Titus, MCSD
>Brainbench.com MVP
>www.brainbench.com
>.