I am trying to restore my dnn site to a previous version.
I backed up the database and have the .bak ready to restore. I've made a full copy of the entire content files.
My last install was from 6.2.8 to 7.3.2 - this gave me the error below.
I therefore, tried to restore back to 6.2.8, however, I still get the same error even though it said my database .bak file was successfully restored.
Is it best to upgrade my .net Framework (no matter which version I roll back to) or can I fix the restored database files somehow?
Could not load file or assembly 'DotNetNuke.Web.Razor' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'DotNetNuke.Web.Razor' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Assembly Load Trace: The following information can be helpful to determine why the assembly 'DotNetNuke.Web.Razor' could not be loaded.