Отвечено host servic on server 2008

  • Monday, February 27, 2012 9:15 PM
     
     

    I have .net 4.0 on win server 2008. although when i browse serveci in browser It gives

    following error

    ------------------------------------------------------------------------------------

    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 3:  
    Line 4:    <system.web>
    Line 5:      <compilation debug="false" targetFramework="4.0" />
    Line 6:    </system.web>
    Line 7:    <system.serviceModel>
     

    Source File: C:\service\connectionservice\web.config    Line: 5


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

All Replies

  • Monday, February 27, 2012 10:26 PM
     
     
    Note to moderator : This does not look like it belongs in the Service Broker Forum. Not sure if it belongs in any SQL Server Forums .

    Sanil Mhatre | Database Developer | MCTS | If you find my reply useful in any way, please vote it as helpful. If it has helped answer your question, please mark it as Answer.

  • Tuesday, February 28, 2012 4:52 AM
     
     
    what ever u know than give some tips,else leave it
  • Tuesday, March 06, 2012 7:15 AM
    Moderator
     
     Answered
    Hi parthiv kubavat,

    You may have a try to switch the framework version to 4.0 on the ASP.NET version page. Please see: ASP.NET 4.0 application error: Unrecognized attribute 'targetFramework'.


    Stephanie Lv

    TechNet Community Support