-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution for Server Error after DNN upgrade (Microsoft.Extensions.DependencyInjection.Abstractions) #2684
Comments
Will mark as closed, as it's pinned to the tasks. |
This comment was marked as duplicate.
This comment was marked as duplicate.
I think this is so old we don't need it any more. It used to be pinned to the top, but I think we can remove it now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a Guide to Fix a Problem after a Dnn Update
Problem
User is doing DNN upgrade to latest DNN 9.10.2 using upgrade zip.
Before upgrade, DNN installation is version 9.10.1 (or older) and it has 2sxc v13+ module installed.
After upgrade, on first run, there is Server Error.
Cause
Microsoft.Extensions.DependencyInjection.Abstractions.dll
v2.1.1 andMicrosoft.Extensions.DependencyInjection.dll
v2.1.1 as part of install and upgrade zip.Microsoft.Extensions.DependencyInjection.Abstractions
v2.2.0 andMicrosoft.Extensions.DependencyInjection v2.2.0
as transient dependency inbin
folder.Microsoft.Extensions.DependencyInjection.Abstractions.dll
v2.1.1 andMicrosoft.Extensions.DependencyInjection.dll
v2.1.1 in DNN bin folder.web.config
is not the same as version of this dll files inbin
folder and throws Server Error.This is what's added to the
web.config
, DNN when installing 2sxc (assembly binding redirects)Fix / Current workaround
From https://github.com/2sic/2sxc/releases/download/v13.03.00/2sic_2SexyContent_13.03.00_Install.zip user should unzip and copy dlls v2.2.0 to dnn's
bin
where are dll's v2.1.1.Than open your DNN web site. Server Error should go away and user can finish DNN upgrade as usual.
Additional Information
DNN websites that have 2sxc v13.00-v13.03, after DNN Upgrade to DNN 9.4+ version will get server error
Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions' or one of its dependencies.
To prevent this server error please install 2sxc v13.04+ before DNN Upgrade.
With 2sxc v13.04 our goal was to ensure that DNN upgrade do not break DNN installation.
The text was updated successfully, but these errors were encountered: