web.config error
-
I have added a section (named 'preliminaryQuoteGeneratorConfiguration') decleration and definition to the web.config file. But when i build the solution it gives me the following error: Section or group name 'preliminaryQuoteGeneratorConfiguration' is already defined. Updates to this may only occur at the configuration level where is defined. (F:\...\TestWebSite\Web\web.config line 12) even though it is declared and defined within this file (web.config) only. Please help me in this regard. Thanks!
-
I have added a section (named 'preliminaryQuoteGeneratorConfiguration') decleration and definition to the web.config file. But when i build the solution it gives me the following error: Section or group name 'preliminaryQuoteGeneratorConfiguration' is already defined. Updates to this may only occur at the configuration level where is defined. (F:\...\TestWebSite\Web\web.config line 12) even though it is declared and defined within this file (web.config) only. Please help me in this regard. Thanks!
-
When you define your own config section you need to add it to the of your web.config file. Something like:
That error sounds like the section has been added twice in the configSections group. Hope that helps. Ben
Thanks! I have ensured the single entry of section decleration and definition. The problem occured when one my project coworker backed up the old version of web application and created copy for changes. He created a folder on my local system and bound it to source project. It works ok on his system and other member's system but fails with mine one. Thanks!