System.Configuration.ConfigurationException Class

The exception that is thrown when a configuration system error has occurred.

See Also: ConfigurationException Members


public class ConfigurationException : SystemException


The System.Configuration.ConfigurationException exception is thrown if the application attempts to read or write data to the configuration file but is unsuccessful. Some possible reasons for this can include malformed XML in the configuration file, file permission issues, and configuration properties with values that are not valid.


The System.Configuration.ConfigurationException object is maintained for backward compatibility. The System.Configuration.ConfigurationErrorsException object replaces it for the configuration system.


Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,