Skip to content

[Bug]: Clean install of 09.13.03 has incorrect Newtonsoft.Json bindingRedirect #5997

@puresystems

Description

@puresystems

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Installed a clean version of DNN 09.13.03. Once logged in as Superuser, the Persona bar failed to display. Checking the browser console showed a 404 for the url /API/personaBar/localization/gettable?culture=en-US

Checking the DNN resource logs, it showed an error as per the log outputs supplied.

Steps to reproduce?

  1. Perform a clean install of DNN 09.13.03.
  2. Login and try to access Persona Bar

Current Behavior

Persona bar doesn't display

Expected Behavior

Persona bar should display to admins

Relevant log output

2024-03-13 10:09:46.080+00:00 [xxxxxxxxx][D:2][T:7][ERROR] DotNetNuke.Common.Internal.ServicesRoutingManager - Unable to register service routes
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.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) ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=6.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)

Anything else?

We updated the web.config entry and changed newVersion to 13 which resolved the issue:

Affected Versions

9.13.3 (alpha)

What browsers are you seeing the problem on?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions