c# - Asp.net MVC4 Website hosting issue -


i have developed asp.net mvc4 website using vs2010 , running fine after publishing , hosting same developer machine.

then hosted same on testing system has .net framework(4.5.1) , asp.net mvc4 run time installed, giving run time exception stating

could not load file or assembly 'newtonsoft.json, version=4.5.0.0, culture=neutral, publickeytoken=30ad4fe6b2a6aeed' or 1 of dependencies. system cannot find file specified.

i checked references in project there no newtonsoft.json referenced. appreciated.

please refer screenshot enter image description here

i guess in web.config have lines like

<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> 

remove give errors json in case , update package nuget :)


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -