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
  • fiber_manual_recordDev Environment
  • 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
  • fiber_manual_recordDev Environment
  • 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. 

Error

Image

The element 'settings' has invalid child element 'allowjsinhtmlmodule'. List of possible elements expected: 'siteloghistory, showquickmoduleaddmenu, dataconsentdelay, cookiemorelink, expirydate, dataconsentuserdeleteaction, timezoneoffset, dataconsentconsentredirect, hostfee, dataconsenttermslastchange, timetoautosave, enableautosave, currency, dataconsentactive, allowuseruiculture, enablebrowserlanguage, paymentprocessor, backgroundfile, dataconsentdelaymeasurement'.

GitHub issue: dnnsoftware/Dnn.Platform#7425 - [Bug]: Cannot create a website

Problem

DNN 10.3.3 site templates (Blank Website.template, Default Website.template) include an <allowjsinhtmlmodule> setting, but portal.template.xsd doesn't define that element. Since the settings block is xs:all (strict), validation fails and Manage -> Sites -> Add New Site breaks.

Cause

Upstream bug in DNN 10.3.3: the template files shipped with a setting that the packaged schema doesn't know about yet. Expected to be patched in 10.3.4.

 

Fix (recommended): patch the schema

File: Website\Components\Portals\portal.template.xsd

  1. Back up the file before editing.

  2. Open it and find, inside the settings element's <xs:all> block (around lines 36–37):

    <xs:element name="allowjsinmoduleheaders" type="xs:string" minOccurs="0" maxOccurs="1" />
    <xs:element name="allowjsinmodulefooters" type="xs:string" minOccurs="0" maxOccurs="1" />
    
  3. Add a new line directly after them:

    <xs:element name="allowjsinhtmlmodule" type="xs:string" minOccurs="0" maxOccurs="1" />
    
  4. Save the file.

  5. Retry Manage -> Sites -> Add New Site.

Note on durability

Components\ gets overwritten on every DNN upgrade, so this edit will silently revert. Track it somewhere (e.g. this file) and re-apply after upgrades until 10.3.4 ships with the official fix.

Alternative (not recommended): strip the setting from templates

If you'd rather not touch platform files, delete the <allowjsinhtmlmodule>False</allowjsinhtmlmodule> line from:

  • Website\Portals\_default\Blank Website.template
  • Website\Portals\_default\Default Website.template

This unblocks site creation, but any template exported later from a 10.3.3 install will contain the element again and fail the same way. The schema patch above is the more durable fix.

Files touched

  • Website\Components\Portals\portal.template.xsd (schema patch, applied 2026-08-18)
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/E91qk8m2
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 (1)

Others referencing this

  1. DNN: Upgrade Dev Environment
Uses these (0)

Documents linked from this document

How it Behaves

How this document is categorized changes how it behaves.

This is a partial document. It is listed below the normal documents, and is hidden in the default search.

It belongs to DNN: Upgrade Dev Environment

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