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...Upgrading DNN P...Upgrading DNN P...Upgrade puts older versions into Bin folderUpgrade puts older versions into Bin folder
Previous
 
Next
New Post
7/17/2018 10:00 PM
 
I agree with Chris. Most likely you have a module (or skin or other extension) installed that wants a more recent version of System.Web.Mvc. It almost certainly installed a binding redirect (which is what you see in the web config file).

That kept your old setup happy.

When you do the upgrade, it knows no better than to dump in the files it has available. It looks like its version of System.Web.Mvc is older. and the binding redirect does not find it.

Given that you are working on your development PC, I suggest that you start again. This time, take a copy of the bin folder before you start the upgrade. After the upgrade try replacing the system.web.mvc with one from the copy. You may have to try a few replacements before you are all clear. Document what you do so that you can repro it to upgrade the live site.

Always take a full backup (folder and database) before you attempt the live site upgrade.

I don't think this situation is ideal, but it's my best guess to get you going.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
7/18/2018 10:07 AM
 
There are many bindings in the web.config. Replacing the files in the bin folder just caused more errors (there were 14 older files in all).
However - this is interesting: on my local development site I had originally had a problem trying to develop new modules using Chris Hammond's DNN9 series - the only way I could get it to work was to add the following to the assembly bindings in web.config:


I have not used these yet on the live site so this code is not in the live web.config.
I commented out this code and the error message disappeared.
Unfortunately there are now lots of compile errors like "No overload for method 'GetDesktopModules' takes 0 arguments" and others. This is obviously from older modules which did not cause a problem before but the current upgrade does not like it. Now to solve these errors....
 
New Post
7/18/2018 11:24 AM
 
Success!

Ok, it wouldn't let me post the code in the previous reply due to the tags but it was
assemblyIdentity name="Newtonsoft.Json"
bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0"

It had a dependent assembly System.Web.Mvc with a binding redirect:
bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0"

After commenting out this code from web.config I uninstalled older unused modules and this removed the compilation errors and upgraded ok.

So now back to trying to create new modules without getting the Newtonsoft.Json error.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade puts older versions into Bin folderUpgrade puts older versions into Bin folder


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