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. Erro related to iis

Erro related to iis

Scheduled Pinned Locked Moved ASP.NET
helpvisual-studiowindows-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.
  • S Offline
    S Offline
    shabi uz zaman
    wrote on last edited by
    #1

    Have my web application...Install it using the .msi When I try to open the project(.csproj/.vbproj) Get the message box asking for conversion from VS2003 to VS 2005. Follow the steps..... you reach a screen which says "do wish to take back up (Yes or No)" If I select YES and once the code has finished conversion, I try to compile the same.. I am not able to do so as it gives following error message: "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. " I have configured the virtual directory and also done the required settings to set it as an application in IIS. If I do not take the back up and proceed the conversion, I am able to compile it without any errors. Has anyone else faced with similar issues. Any help will be apreciated:)

    P 1 Reply Last reply
    0
    • S shabi uz zaman

      Have my web application...Install it using the .msi When I try to open the project(.csproj/.vbproj) Get the message box asking for conversion from VS2003 to VS 2005. Follow the steps..... you reach a screen which says "do wish to take back up (Yes or No)" If I select YES and once the code has finished conversion, I try to compile the same.. I am not able to do so as it gives following error message: "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. " I have configured the virtual directory and also done the required settings to set it as an application in IIS. If I do not take the back up and proceed the conversion, I am able to compile it without any errors. Has anyone else faced with similar issues. Any help will be apreciated:)

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      This error occurs when the compiler finds a web.config file with MachineToApplication settings that is not in the application's root folder. Check where you are storing the backup. If it is in a subdirectory under your website, move it somewhere else so you don't confuse the compiler.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      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