We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond a...

    Mar 29, 2011 05:03 AM|vaheeds|LINK

    Wolfeitz

    If you accidentally copy your entire web app into one of its own sub-folders, you will get this error.
    THIS IS EXACTLY WHAT I WAS SEARCHING FOR ABOUT A MONTH! I FOUND THAT THERE IS A BACKUP FOLDER IN MY SOLUTION THAT CONTAINS THE WHOLE SOLUTION. AFTER I DELETE IT, THE PROBLEM WAS RESOLVED. THANK YOU SO MUCH FOR YOUR SMALL BUT VERY USEFUL TIP. I FACED THIS ERROR IN MY VISUAL STUDIO SOLUTION AND I WAS WONDERING WHERE IS MY IIS?! BECAUSE I RUN MY WEB APPLICATION ON ' ASP.NET WEB DEVELOPMENT SERVER ' WHILE DEVELOPING. DONT FORGET GUYS: "If you accidentally copy your entire web app into one of its own sub-folders, you will get this error."

    iis MachineToApplication

    I remember to mark the replies as answers if they answered my question ;)