menu
Logo
  • Why azing?
  • Blog
  • Help
ENarrow_drop_down
  • DE
  • EN
Suche in Checklisten
search
azing Logo ENarrow_drop_down
  • DE
  • EN
  • Why azing?
  • Help
2sxc
drive_folder_upload
  • homeChecklist Templates
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedDev Environment

  • info Convert to information
  • insert_drive_file Convert to boilerplate
  • homeChecklist Templates
  • south
  • fiber_manual_recordZ: Internal Stuff for the 2sxc-Dev Team
  • south

folder_sharedDev Environment

Folders and checklists

  • folder_sharedJS Automation like Npm, Gulp, Grunt, Webpack
  • infoBuild Configuration Files in 2sxc 16+
  • check_circleDNN: Upgrade Dev Environment
  • check_circleOqtane: Upgrade Dev Environment
  • check_circleSetup / Migrate to DNN 9.6.1 for Dev
  • check_circleSetup 2sxc Dev Web with DNN 9.13.1
  • check_circleSetup 2sxc Dev Web with Oqtane
  • check_circleSetup 2sxc-Inpage for Development
  • infoxxx - Environment Variable for Target DNN

Parts of this checklist (0) expand_more

These are small document-parts which are used in other documents. They are not a starting point for any real activity. Because of this, they will be listed further down and the search will not list them unless requested. 

Update DNN 9.x -> 10.x for core 2sxc development

DNN 10 is a major release with breaking changes. This recipe is written for a local 2sxc dnn development environment.

Reference environment used while writing this: D:\Projects\2sxc\2sxc-dnn\Website -> http://2sxc-dnn.dnndev.me/, DNN 9.11.2 -> DNN 10.3.3.


1. Decide the Target Versions

DNN publishes a mandatory Suggested Upgrade Path.

From To Why this hop
09.11.02 09.13.09 last 9.x stepping stone; do the Telerik removal here
(download upgrade package)
09.13.09 10.02.05 the big one - .NET 4.8, SQL 2017, forced Telerik removal, API removals
(download upgrade package)
10.02.05 10.03.03 current release, uses the new in-product upgrade
(download install package)

Notes:

  • 2sxc compatibility: DNN 10.02+ requires 2sxc v21.01 or newer - see the Dnn Platform compatibility table. Older 2sxc will not work on DNN 10.2+.
  • Everything below DNN 10.2.2 has open CVEs.

2. Prerequisites

  • .NET Framework 4.8 installed (DNN 10.0.0 minimum), so just update your Windows 11 and VS2026 to latest version.
  • SQL Server 2017 (14.x) or newer (DNN 10.0.0 minimum)
  • Download all three DNN Upgrade or Install packages from the release pages above

3. Backups

Do not skip this on a dev box either - you will want to retry the upgrade more than once.

  • Full SQL backup of the dnn database
  • File copy of the whole website folder (D:\Projects\2sxc\2sxc-dnn\Website)

4. web.config Settings

  • <add key="AutoUpgrade" value="false" /> - you want the wizard, not a silent upgrade
  • <add key="UseInstallWizard" value="true" />
  • For the 10.2.5 -> 10.3.3 hop, if the upload button is missing in the Persona Bar, add: <add key="AllowDnnUpgradeUpload" value="true" />
  • Clean large web.config after many upgrades

5. Run the Upgrades

5a. Classic method - for everything up to 10.2.x

  • Stop the app pool (or sometimes you can use app_offline.htm)
  • Unzip the Upgrade package over the website folder, overwriting existing files
  • Start the app pool
  • Browse to the site - the upgrade wizard starts automatically, or go to https://2sxc-dnn.dnndev.me/install/upgradewizard.aspx
  • Watch it to completion, do not navigate away
  • In case of error check Website\Providers\DataProviders\SqlDataProvider\*.log.resources - a empty file means the script ran clean; anything larger contains errors
  • Repeat for the next hop

5b. New method - from 10.2.0 onwards

Starting with DNN 10.2.0 there is an in-product upgrade. See the Post-10.2.0 Upgrade Guide.

  • Go to Settings -> Servers -> System Info -> Upgrades
  • Upload the 10.3.3 Install package there (do not unzip it over the folder)
  • If you are coming from exactly 10.2.3, its upload feature is broken: copy the Install package into Website\App_Data\Upgrade\ manually instead
  • DNN drops an app_offline.htm while unpacking (10.3.0+) - let it finish

Fix: Execution Timeout Expired During the SQL Scripts

Symptom - the wizard stops early with:

System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired.

Why it happens - DNN calls SqlDataProvider.ExecuteScript(script, 0), where every upgrade statement runs with the ADO.NET default of 30 seconds. The statement has to finish inside 30 s, or you run it by hand.

Fix:

  • Identify which statements failed: open the largest *.log.resources file in Website\Providers\DataProviders\SqlDataProvider\
  • Stop the app pool - a full stop, not app_offline.htm
  • Run SqlDataRPovder script in SSMS, which has no command timeout.
  • Start the app pool and re-run Install/Install.aspx?mode=upgrade

The same approach works for any failing statement: DNN logs the exact SQL it tried, so pull it out of the log file and run it manually.

6. Update 2sxc

Do this after DNN reaches its final version, not between hops.

  • Install 2sxc v21.08.00 or newer via Settings -> Extensions -> Install Extension

Reference Links

  • DNN Suggested Upgrade Path
  • Post-10.2.0 Upgrade Guide
  • Basic upgrade steps
  • Telerik Removal
  • DNN 10.00.00 Released - full breaking-changes list
  • DNN Platform releases
  • 2sxc Dnn Platform compatibility table
  • Azing: Update DNN which has a 2sxc
  • Azing: Update 2sxc in DNN
  • Azing: Solve 2sxc Update Problems
Logo
Legal | Content Copyright CC-BY 4.0
bug_reportReport Bug
  • info
  • Links
  • Permissions
code Share
code
URL copied to clipboard.
Embed Checklist close
Copy Copy
Content Copyright

CC-BY 4.0

Translations

None

2sxc - Content Management for DNN & Oqtane Logo

2sxc - Content Management for DNN & Oqtane

QR-Code
azing.org/2sxc/r/0HgSADWP
View & Use

Public (can be used by everybody)

Edit & Admin

Default (all members can edit)

This catalog has a simple permission model, where all members have the same permissions. For advanced permissions, upgrade to Enterprise.

Here you can see how this document is used and linked by other documents

Used (0)

Others referencing this

Uses these (3)

Documents linked from this document

  1. Clean large web.config after many upgrades
  2. Update DNN which has a 2sxc
  3. Update 2sxc in DNN
How it Behaves

How this document is categorized changes how it behaves.

This is a main document, it is listed normally and appears in search result.

Type

This is a Checklist. Lists are converted into checkboxes.

Get something to say?

Comment to start a discussion or make a note
send

please log on to chat

close

Durchsuche ganz Azing