Some Configuration Error

Topics: Administration, Announcements, Customizing Orchard, General, Installing Orchard, Localization, Troubleshooting, Writing modules, Writing themes
Aug 25, 2011 at 8:14 AM

when i upload my cms to the hosting space via ftp. therer are some error message.

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

Source File: C:\inetpub\vhosts\\httpdocs\web.config Line: 52

Server Error in '/' Application.

Configuration Error


Aug 25, 2011 at 8:24 AM

You need to make sure that you are using IIS & .NET 4.0

Aug 25, 2011 at 9:42 AM

The server now is installed with .net 3.5 how can I change the .net 4.0 to .net 3.5?

Aug 25, 2011 at 12:16 PM

You can't, Orchard will only run on .Net Framework 4.0 so you need to get .Net Framework 4.0 installed on your server.