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. error can be caused by a virtual directory not being configured as an application in IIS.

error can be caused by a virtual directory not being configured as an application in IIS.

Scheduled Pinned Locked Moved ASP.NET
helpwindows-admin
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
    red60mans
    wrote on last edited by
    #1

    hi, my web.config file is like this ....... ....... Now if i use the element as bove i get this error 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. However if i remove the location element my app works fine Any help is appreciated, Yojimbo yojimbo

    A 1 Reply Last reply
    0
    • R red60mans

      hi, my web.config file is like this ....... ....... Now if i use the element as bove i get this error 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. However if i remove the location element my app works fine Any help is appreciated, Yojimbo yojimbo

      A Offline
      A Offline
      Amit Kumar G
      wrote on last edited by
      #2

      because you are crossing the app boundries....Location node is normally used to cross the boundries for example you want to distinguish roles/authorization on basis of ordinary and admin user. You can also replicate the same error a) if you keep two confifg file in your project AND b) remove location node details....

      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