-
-
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
Upgrade to DNN v9.13.6 breaks 2sxc v18.04.00 #3511
Comments
Can you check the files in portals/_default/logs to see if there are any clues there ? |
Perhaps related: #3440 |
I have the same issue when upgrading with 2sxc v17.10.00 A re-install of 2scx version 17.10.00 fixes the issue. |
DotNetNuke.Services.Exceptions.Exceptions - FriendlyMessage="The: App is not available this moment." ctrl="ASP.desktopmodules_tosic_sexycontent_view_ascx" exc="System.Exception: something went wrong - can't find type in app, but it's not a global type, so I must cancel |
Okay, I found a small website which was upgraded over the years from a starting install of DNN v7.03.04 and was currently DNN v9.13.04. 2sxc was installed and only at v15.08. Both apps and content module/app were in use across quite a few pages. I upgraded DNN to v9.13.06. Same results as pictured above, both Apps and Content module/app showing same errors; "Data is missing...", "Something went wrong..." etc. So then I install 2sxc v16.07 and this fixed all. Everything is working again, I can find no problems with the site or 2sxc stuff. |
Not really sure what this is. My guess ATM would be that maybe DNN 9.13.6 replaces some previously "standard" .net core DLLs? |
@iJungleboy - my guess is that its something to do with the info returned by ServerInfo that changed in v9.13.05 I updated this so that we got the proper 3 part version numbers for the .NET Framework Product Version DNN reports. So now we see "4.8.1" instead of "4.8" when its running on 4.8.1 actually. However, this introduced a serious bug in v9.13.05; if the .NET Product Version was 4.8.0 there was a bug in the .ToString of the Version system type (not sure I have this detail stated accurately). This threw an error and get ServerInfo failed. Hence the quick fix and release of DNN v9.13.06... When 2sxc starts up, I assume it calls ServerInfo or related, either on the backend or via WebApi. If you examine the files changed in Brian Dukes fix (v9.13.06), I am pretty sure you will spot something that affects 2sxc startup. |
@jeremy-farrance it is the best theory so far |
@tvatavuk could you look into this? |
What I find strange is that (pls confirm)
this doesn't sound like a DNN-Version-Check issue |
I can confirm that a restart of IIS didn't fix the issue. |
Issue is reported on DNN GH dnnsoftware/Dnn.Platform#6222 because the DNN upgrade process probably should not overwrite newer DLLs with older versions (also without appropriately handling assembly bindings). Ideally it should:
This can ensure that modules depending on newer DLL versions continue to function after the upgrade. Until proper fix, simple workarounds are:
|
I have posted a possible "Alternate Fix" by modifying the existing binding redirect (for Read from here on down: |
I am reposting this here in case someone feels this workaround is good enough for now while "the DNN powers that be" sort things out. I appreciate hearing if anyone has success with this. I've got 4 sites upgraded to DNN 9.13.06 with 2sxc 18.03+ and no issues. Cheers! Another possible fix is to (in this order):
DLL newVersion assignments via Binding Redirect:
In English, this tells your app which DLL to use based on the version needed. 0 to 4.0.4.1 for ImageFlow, 4.0.4.2 to 5.* use the default (in /bin), and 6+ uses the 2sxc folder one. More help on this is available here. ** and stress is greatly reduced ;) |
Might have a fix here, waiting on reviews/testing dnnsoftware/Dnn.Platform#6227 |
@jeremy-farrance, it’s impressive how quickly you identified, proposed, and documented a solution for adjusting assembly bindings in the I’d like to add some context about managing these bindings. Maintaining and adjusting bindings in However, maintaining and testing the XPath logic responsible for these adjustments is complex and time-intensive. While we aim for robust solutions, it's challenging to account for every possible configuration, especially for edge cases outside the expected scenarios. My suggestion is that after the next DNN upgrade, it might be beneficial to revert custom binding adjustments to ensure they align with the original expectations of 2sxc. If this isn't feasible, be prepared for potential manual updates to the Thank you for your insight, effort, and ongoing support for both 2sxc and DNN. Keep up the excellent work—you’re making a real difference! 🫶
|
Yup, I can definitely see how my fix could cause problems in the future. I've noted the two sites where I did this and set a reminder to undo it in January or so after we are properly running on DNN 9.13.07+ and 2sxc 18.05 or higher. Thanks! |
I'm submitting a
[x] bug report => search github for a similar issue before submitting
...about
[x] admin experience UI
Current Behavior / Expected Behavior
Upgrading a DNN v9.13.4 (2sxc v18.04.00) website to DNN v9.13.6 breaks both 2sxc Content and Apps.
Content Page - Pre-upgrade
Content Page - Post-upgrade
App Page (Photo Gallery) - Pre-upgrade
App Page (Photo Gallery) - Post-upgrade
Sample Error Message
Stopping and restarting the website (cycling IIS) does not solve the problem.
Re-installing 2sxc v18.04.00, logging out and refreshing the browser seems to fix everything.
I'm guessing that the issue might be with 2sxc but it could very well be with the DNN upgrade. I found the same error with 2sxc v18.01.00.
Instructions to Reproduce the Problem
Your environment
The text was updated successfully, but these errors were encountered: