An unhandled exception of type 'System.Configuration.ConfigurationException' 
Author Message
 An unhandled exception of type 'System.Configuration.ConfigurationException'

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.MarsSeries3000Con
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



Sat, 05 Mar 2005 02:45:29 GMT  
 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
>.



Sat, 05 Mar 2005 03:01:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Unhandled Exception: System.Configuration.ConfigurationException: Could not create System Configuration.NameValueSectionHandler, System

2. Help Needed with 'Unhandled Exception' error

3. An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll

4. Unhandled exception System.TypeLoadException

5. Can't remove toolbar buttons without an unhandled exception

6. Can't remove toolbar buttons without an unhandled exception

7. Can't remove toolbar buttons without an unhandled exception

8. system(type system.c)....didn't work!

9. System.Timers.Timer can't throw Exception?

10. Need help using __hook for unhandled exceptions.

11. Error: Unhandled Exception for Windows Form - HELP!

12. Unhandled Exception:User Breakpoint Message

 

 
Powered by phpBB® Forum Software