In the use of Baidu Ueditor, accidentally will Newtonsoft.json, upgrade, and then reported as the wrong.
Workaround (Web. config):
<runtime> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyidentity name="Newtonsoft.json"publickeytoken="30ad4fe6b2a6aeed"Culture="Neutral"/> <bindingredirect oldversion="0.0.0.0-6.0.0.0"newversion="6.0.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyidentity name="SYSTEM.WEB.MVC"publickeytoken="31bf3856ad364e35"/> <bindingredirect oldversion="1.0.0.0-4.0.0.0"newversion="4.0.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyidentity name="System.Web.WebPages"publickeytoken="31bf3856ad364e35"/> <bindingredirect oldversion="1.0.0.0-2.0.0.0"newversion="2.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime>
Attention:
<assemblyidentity name="newtonsoft.json" publickeytoken="30ad4fe6b2a6aeed" culture= "neutral"/>
<bindingredirect oldversion="0.0.0.0-6.0.0.0" newversion="6.0.0.0"/>
Modify the values of these 2 nodes.
Failed to load file or assembly "Newtonsoft.json, version=4.5.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed" or one of its dependencies.