Reputation: 81
Could not load file or assembly 'AjaxControlToolkit, Version=15.1.3.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies.
and below is my webconfig
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="ajaxControlToolkit" type="AjaxControlToolkit.AjaxControlToolkitConfigSection, AjaxControlToolkit" />
</configSections>
<system.web>
<compilation debug="true" targetFramework="4.5.1">
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-15.1.2.0" newVersion="15.1.2.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<ajaxControlToolkit htmlSanitizer="AjaxControlToolkit.HtmlEditor.Sanitizer.DefaultHtmlSanitizer, AjaxControlToolkit.HtmlEditor.Sanitizer" />
</configuration>
Upvotes: 0
Views: 1102
Reputation: 2383
You have
<bindingRedirect oldVersion="0.0.0.0-15.1.2.0" newVersion="15.1.2.0" />
in your Web.config. Remove it as it prevents v 15.1.3.0 from loading.
But I strongly advise you to remove runtime section completely.
Upvotes: 1