IIS 7.5 Express Orchard Installation 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.

Topics: Installing Orchard, Troubleshooting
Dec 8, 2012 at 9:43 PM

I've tried to install orchard on IIS on my local dev machine.

This is the rror, I got:

 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.

What I did:

- I followed the intstructions on: http://docs.orchardproject.net/Documentation/Manually-installing-Orchard-zip-file 

- I created a website with IIS configured to the C:\inetpub\wwwroot\OrchardTest folder where I extracted the files on the orchard website i downloaded.

- I set up the application pool with the Network Service account and gave it rights to the needed folders.

I have googled but I have not found the solution yet.

Coordinator
Dec 8, 2012 at 11:02 PM

Apparently you did not configure the directory where Orchard is deployed to be an IIS application.

Dec 9, 2012 at 12:51 AM

I fixed it thanks!