Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Hansen 102 posts 305 karma points
    Aug 20, 2018 @ 09:40
    Thomas Hansen
    0

    Live vs. Local environment - Newtonsoft.Json referrence

    In the live environment I'm getting this error. but on the local version it works.

    "Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
    

    I have looked throug the web.config file, and I'm reference to the right version and checked that Newtonsoft.Json.dll are the right version. (6.0.5.17707)

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

    Any suggestions what could be wrong ?

Please Sign in or register to post replies

Write your reply to:

Draft