Problem during the deployment 1.1 to IIS

Topics: General, Troubleshooting
Apr 18, 2011 at 4:28 AM

Trying to deply Orchard 1.1 to IIS. Then i browse it and coming out the error:  

 

Server Error in '/IPSv1.1' 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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error:

Line 49:             during development.
Line 50:     -->
Line 51:     <compilation debug="false" targetFramework="4.0" batch="true" numRecompilesBeforeAppRestart="250">
Line 52:       <buildProviders>
Line 53:         <add extension=".csproj" type="Orchard.Environment.Extensions.Compilers.CSharpExtensionBuildProviderShim" />


Source File: C:\inetpub\wwwroot\IPSv1.1\web.config    Line: 51


Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

<!-- [ConfigurationErrorsException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\IPSv1.1\web.config line 51) at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) [HttpException]: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\IPSv1.1\web.config line 51) at System.Web.HttpRuntime.FirstRequestInit(HttpContext context) at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) -->
Coordinator
Apr 18, 2011 at 7:36 PM

Your application pool needs to be configured to run .NET 4.0 and must use the integrated pipeline.