.net 5 web assembly deploy issues

here is the error from when i publish the radzen site using vs 2019...

IIS 10.0 Detailed Error - 500.19 - Internal Server Error

This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".