Last post May 21, 2015 11:17 AM by Mikesdotnetting
May 21, 2015 09:19 AM|dhakad|LINK
i orderd a windows server from RackBank Datacenter, and they installed plesk panel.
in my plesk panel i have ASP .Net version : 3.5.30729.4926 and 4.5
i host my application and website in server but it showing error while i am opening that URL in my browser.
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.
Line 22: </configSections>
Line 23: <system.web>
Line 24: <compilation debug="true" targetFramework="3.5" >
Line 25: <assemblies>
Line 26: <add assembly="System.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxx"/>
Source File: C:\Inetpub\vhosts\domain.com\demo3.domain.com\web.config Line:
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
May 21, 2015 11:17 AM|Mikesdotnetting|LINK
Looks like your application pool is targeting ASP.NET 2. You need to change that to .NET 4 in Integrated Pipeline mode. You should contact your hosting company if you need assistance with doing that.