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
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
Post a Comment