Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web.config error

web.config error

Scheduled Pinned Locked Moved ASP.NET
helpworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    peshawarcoder
    wrote on last edited by
    #1

    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!

    K 1 Reply Last reply
    0
    • P peshawarcoder

      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!

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      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

      P 1 Reply Last reply
      0
      • K kubben

        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

        P Offline
        P Offline
        peshawarcoder
        wrote on last edited by
        #3

        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!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups