Updating a DotNetNuke site from 7.0.0 to 6.2.4 I received the following error message:
Could not load file or assembly 'clientdependency.core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
From version 7 DotNetNuke requires the use of .net Framework 4.
Configure .NET Framework Version
In Windows 2008 server to set the Framework version.
- Navigate to the application pools in IIS
- In the list of application pools in the main window click on the application pool associated with the DotNetNuke installation
- At the right, under Edit Application Pool click on Basic Settings, a pop-up window ‘Edit application pool’ will appear.
- From the central drop down list – .NET Framework version, select the version 4 application pool. At the time of writing this was shown as .NET Framework v4.0.30319
- Click OK
Once the application pool has been changed the update to the website can proceed.


