locked
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies RRS feed

  • Question

  • User783174589 posted

    Hi can anyone tell me why my web.config isn't loading?

    <?xml version="1.0"?>
    <configuration>
    <configSections>
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
    </sectionGroup>
    </sectionGroup>
    </sectionGroup>
    </configSections>

    <connectionStrings>
    <add name="SALESLOGIXConn" connectionString="Data Source=UK-LEI-AS11\SALESLOGIX;Initial Catalog=SALESLOGIX;User ID=sa;Password=m1ll10n"
    providerName="System.Data.SqlClient" />
    <add name="THEMAILERLOGConn" connectionString="Data Source=UK-LEI-AS11\;Initial Catalog=THEmailer_Log;User ID=sa;Password=m1ll10n"
    providerName="System.Data.SqlClient" />
    <add name="StyliConn" connectionString="Data Source=UK-LEI-AS11\;Initial Catalog=applications;User ID=sa;Password=m1ll10n" providerName="System.Data.SqlClient"/>
    </connectionStrings>

    <!-- Add the email settings to the <system.net> element -->
    <system.net>
    <mailSettings>
    <smtp>
    <network host="UK-LEIC1.AMETEK.COM" />
    </smtp>
    </mailSettings>
    </system.net>

    <system.web>
    <httpRuntime executionTimeout="5400" />
    <pages>
    <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </controls>
    </pages>
    <!--
    Set compilation debug="true" to insert debugging
    symbols into the compiled page. Because this
    affects performance, set this value to true only
    during development.
    -->
    <compilation debug="true">
    <assemblies>
    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </assemblies>
    </compilation>

    <httpHandlers>
    <remove verb="*" path="*.asmx"/>
    <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    </httpHandlers>

    <httpModules>
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>
    </system.web>


    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    <modules>
    <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </modules>
    <handlers>
    <remove name="WebServiceHandlerFactory-Integrated" />
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
    type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
    type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    </handlers>
    </system.webServer>
    </configuration>

    Thanks

    Tuesday, September 29, 2015 5:41 AM

Answers

  • User-84896714 posted

    Hi Gina31K,

    Welcome to ASP.NET forums.

    Could not load file or assembly System.Web.Extensions

    Please make sure you have add System.Web.Extensions assembly to your project references. If not, please add it. For how to add references, link below is for you reference.
    https://msdn.microsoft.com/en-us/library/wkze6zky.aspx

    Best Regards,
    Wang Li

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 29, 2015 11:27 PM
  • User-1506965535 posted

    Hi can anyone tell me why my web.config isn't loading?

    There might be possible issue with the versioning of the Project which may cause the issue.

    You may try downloading Ajax from the Microsoft ajax download center

    give it a try and check loading it again. Might it work

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 30, 2015 6:13 AM

All replies

  • User-84896714 posted

    Hi Gina31K,

    Welcome to ASP.NET forums.

    Could not load file or assembly System.Web.Extensions

    Please make sure you have add System.Web.Extensions assembly to your project references. If not, please add it. For how to add references, link below is for you reference.
    https://msdn.microsoft.com/en-us/library/wkze6zky.aspx

    Best Regards,
    Wang Li

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 29, 2015 11:27 PM
  • User-1506965535 posted

    Hi can anyone tell me why my web.config isn't loading?

    There might be possible issue with the versioning of the Project which may cause the issue.

    You may try downloading Ajax from the Microsoft ajax download center

    give it a try and check loading it again. Might it work

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 30, 2015 6:13 AM