Issues Deploying Orchard IIS7

Topics: Announcements
Nov 13, 2013 at 8:57 PM
Hi, i am having trouble setting up an orchard website IIS V7.5 with Windows 2008 Server R2.

The error is this:
Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

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.

Source Error: 


Line 88:             ASP.NET to identify an incoming user. 
Line 89:     -->
Line 90:     <authentication mode="Forms">
Line 91:       <forms loginUrl="~/Users/Account/AccessDenied" timeout="2880" />
Line 92:     </authentication>

Source File: C:\inetpub\wwwroot\www.riderscolombia.info\web.config    Line: 90 

Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474
Thx for your help
Coordinator
Nov 14, 2013 at 12:03 AM
"This error can be caused by a virtual directory not being configured as an application in IIS" seems to be the crucial information here.
Dec 13, 2013 at 3:15 PM
I had to change in the application pool the version of the .net framework from 2 to 4.

That was the issue!