Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GabrielWZani
New Member

Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0'

Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0' when i try to login power bi gateway. I hav never seen this problem before and i just cant find a solution to it.

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @GabrielWZani ,

 

For this kind of problem, you can try something: In the web.config file, change the binding redirect to map to the installed version.
The relevant steps are referenced below.

  • 1.Delete Newtonsoft.Json dll from bin folder if any.
  • 2.If you are using web application project go to webconfig and remove these assembly references otherwise delete all assembly references from packageconfig etc.
  • 3.Install-Package Newtonsoft.Json -Version (Version Number Here)

related similiar solution.

.net - Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKey...

asp.net mvc 4 - How to add Newtonsoft.Json version 6.0.0? - Stack Overflow

vhenrykmstf_0-1659332074045.png

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @GabrielWZani ,

 

For this kind of problem, you can try something: In the web.config file, change the binding redirect to map to the installed version.
The relevant steps are referenced below.

  • 1.Delete Newtonsoft.Json dll from bin folder if any.
  • 2.If you are using web application project go to webconfig and remove these assembly references otherwise delete all assembly references from packageconfig etc.
  • 3.Install-Package Newtonsoft.Json -Version (Version Number Here)

related similiar solution.

.net - Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKey...

asp.net mvc 4 - How to add Newtonsoft.Json version 6.0.0? - Stack Overflow

vhenrykmstf_0-1659332074045.png

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.