“virtual directory not being configured as an application in IIS”

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

If you get this msg in your browser, then do:

  1. Open Settings/ControlPanel/AdminTools/IIS/(this computer)/WebSites/DefaultWebSite/(your branch dir)
  2. Right-click your project folder
  3. Select Properties
  4. Click the ‘Create’ button for ‘Application Name’
  5. Restart IIS
  6. Re-request your page
Print Friendly, PDF & Email