K
Keith Patrick
I have a configuration file that has two <section>s defined, each with the
same class of custom section handler (although this doesn't matter; I've
tried two different kinds). If I read either one (multiple times, too), I
have no problems, but the second I read the other <section>, I get a
ConfigurationException saying that the runtime could not create an instance
of type "<customsectionhandler>". Is this some restriction to configuration
files that I'm missing? I couldn't find any reset method that may have been
of use, so I'm not seeing what I'm doing wrong.
same class of custom section handler (although this doesn't matter; I've
tried two different kinds). If I read either one (multiple times, too), I
have no problems, but the second I read the other <section>, I get a
ConfigurationException saying that the runtime could not create an instance
of type "<customsectionhandler>". Is this some restriction to configuration
files that I'm missing? I couldn't find any reset method that may have been
of use, so I'm not seeing what I'm doing wrong.