Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Could not load file or assembly  or one of its dependencies. Error. Why??Could not load file or assembly or one of its dependencies. Error. Why??
Previous
 
Next
New Post
7/20/2018 6:27 PM
 
Hi, I recently had an issue where our (test) website crashed, for no apparent reason.

The page showed this error:

Server Error in '/dotnetnuke' Application.

 Could not load file or assembly 'System.Net.Http.Formatting' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

After some head-scratching and experimenting, we determined that the web.config was looking for a different version of the System.Net.Http.Formatting dll than the one we had in the bin folder (which appeared to have been changed somehow). After trying a few things,  we were able to bring the site back up, by replacing 'System.Net.Http.Fomatting.dll' with a version from a different instance of DNN we have running on the same webserver. We also had to do the same thing for a couple of other dll's  - (it was basically a  case of getting the dll's version to match the version that the web.config was looking for.)

Also, once the site was back up, we noticed the Personna bar was missing!! After some Googling we were able to replace that by restoring the 'Newtonsoft.Json.dll' file , which was missing.

I've seen one or two threads about similar issues, but I have no idea why this occurred. It seems as though , for some reason, some dll's were changed in the bin folder, and one removed - for no apparent reason - causing the website to crash.

Does anyone have any insight into why this may have happened, and how to prevent it from occurring in the future?

Thanks
Tom

 
New Post
7/20/2018 6:33 PM
 

I would like to upload a screen shot of the error, but The Image Manager is not allowing me to. Any tips on how to do so?

 

Tom

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Could not load file or assembly  or one of its dependencies. Error. Why??Could not load file or assembly or one of its dependencies. Error. Why??


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out