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
windows-adminhelpsysadminsecuritybusiness
2 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.
  • R Offline
    R Offline
    Robert1974
    wrote on last edited by
    #1

    I get the following error when visiting my newly published site: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. the Source Error is the: authentication mode="Forms" line in the web.config file. I have IIS 6.0 I have been googling a lot on this topic but all the answers i can find tell me that this error is due to the fact that the site is not created as a virtual directory. But mine is. I also have only one web.config file. I relly don't know what to do. My OS is MS Windows Server 2003 (for small business server) Would be greatful for any help! /Robert -- modified at 7:28 Wednesday 3rd May, 2006

    P 1 Reply Last reply
    0
    • R Robert1974

      I get the following error when visiting my newly published site: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. the Source Error is the: authentication mode="Forms" line in the web.config file. I have IIS 6.0 I have been googling a lot on this topic but all the answers i can find tell me that this error is due to the fact that the site is not created as a virtual directory. But mine is. I also have only one web.config file. I relly don't know what to do. My OS is MS Windows Server 2003 (for small business server) Would be greatful for any help! /Robert -- modified at 7:28 Wednesday 3rd May, 2006

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Have you checked that it's running under the correct version of the framework?

      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