​When deploying solution, an error occurred:
“Cannot add the specified assemble to the global assembly cache: Newtonsoft.Json.dll ”


  • This error indicates that “Newtonsoft.Json.dll” is locked on SharePoint servers. Try the following methods to fix this error:

  • • Restart IIS on all SharePoint servers
    • Or, restart timer job services on all SharePoint servers
    • If the above methods do not work, try unlocking the assembly files on the server.

  • After the above methods have been tried, deploy the product.

  • Applies for: SharePoint 2013, SharePoint 2010, SharePoint 2007

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>