ASP .Net framwork issue RRS feed

  • Question

  • User-1301099883 posted


    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.


    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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

    Source Error:

    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=, Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxx"/>

    Source File: C:\Inetpub\vhosts\domain.com\demo3.domain.com\web.config    Line: 24

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

    Thursday, May 21, 2015 9:19 AM


  • User-821857111 posted

    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.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 21, 2015 11:17 AM