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...

    Sep 16, 2011 06:03 PM|jafarian|LINK


    this error is caused by level of directories that you will unzip the file to.

    Please note:

    suppose you have a website  called Myweb and all the files for this website is in   Mywebsite.zip.

    if you unzip it it will be in the following directories level:


    if you open the website in VS 2008 from 1st and 2nd level directories it will give you the above error.

    But if you opent the website form  Myweb directory it will works just fine

    So you dont need to play with IIS or other staff!!!!!!!!!!!!!!!!

    hope it helps