TypeInitializationException exception on creating an object

前端 未结 4 2054
天涯浪人
天涯浪人 2020-12-01 17:31

I have an assembly (class library project in .Net 3.5) that has some references like System.Configuration and System.Web. I use it on a web applica

4条回答
  •  感情败类
    2020-12-01 18:19

    Just to catch another scenario, this error will be thrown when your AppConfig contains a section that is not defined in the configSections node. It's case sensitive, so verify that your custom config sections match what's in the configSections node.

提交回复
热议问题