locked
Hosting Issue RRS feed

  • Question

  • User-1944181285 posted

    When I try to host the site on the same machine I get the 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 'type'.

    Source Error:


    Line 2:  <configuration>
    Line 3:   <configSections>
    Line 4:    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    Line 5:     <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    Line 6:      <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
     

    Source File: c:\inetpub\wwwroot\web.config    Line: 4

    Any easy solution to this?

    Saturday, July 19, 2008 6:39 PM

All replies

  • User-1705717250 posted

    copy

    System.Web.Extensions.dll

    and

    System.Web.Extensions.Designer.dll

    to your project's Bin folder

    Sunday, July 20, 2008 11:23 AM