Errors in SQL MDS since installing latest patch

Andy Rawcliffe 0 Reputation points
2025-09-11T14:51:20.6766667+00:00

Since installing last nights patch we are getting errors loading MDS - the patch has updated Newtonsoft DLL to 13.1.1 but we cannot find how to change this in any of the config files etc.

Could not load file or assembly 'Newtonsoft.Json, Version=13.0.1.25517, 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)

   at System.Net.Http.Formatting.BaseJsonMediaTypeFormatter..ctor()

   at System.Net.Http.Formatting.JsonMediaTypeFormatter..ctor()

   at System.Net.Http.Formatting.MediaTypeFormatterCollection.CreateDefaultFormatters()

   at System.Web.Http.HttpConfiguration.DefaultFormatters(HttpConfiguration config)

   at System.Web.Http.HttpConfiguration..ctor(HttpRouteCollection routes)

   at System.Web.Http.GlobalConfiguration.<CreateConfiguration>b__0()

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
{count} votes

1 answer

Sort by: Most helpful
  1. Steve CB 45 Reputation points
    2025-09-14T10:48:25.4333333+00:00

    I had the same problem and had to update the web.config file for MDS (in C:\Program Files\Microsoft SQL Server\150\Master Data Services\WebApplication), changing the line just below <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />

    from: <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />

    to: <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="13.0.0.0" />

    9 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.