IIS Setup for Demo

Jan 27, 2011 at 5:10 PM

I moved the file to a website folder and created a web site on IIS Manager. Then I started VS2010 web site and did a build.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.

  I then added a virtual directory entry and did another build with the same error.

I noticed that I have OS=W7 with IIS6.0. Do I need IIS7.0?

Jan 27, 2011 at 5:55 PM

Virtual directory is not the same as web application; in IIS, you have to configure the web site to run as an app, not a website