.net 5 web assembly deploy issues

i created a visual studio project using template for .net 5 web assembly.
published to remote site with success and running.

NOTE: before i publish, i go into sites and clear all files. and restart site before publishing another site to insure that there is no issue with existence of files, that is reserved for other testing.

Using Radzen i create .net 5 web assembly and publish to the same site for which i just published from Visual studio that functioned, and it succeeds in publish but has when i attempt to open site.

when i access the site remotely i only get error on site similar to errors i have sent prior.
but when accessing locally on the iis server that is remote, i get a different error. see next pic.

the error text i see is...

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".

for comparison purposes...here is a comparison of the two web.configs
these are both web assembly configs one from radzen on bottom and the vs 2019 .net 5 blazor web assembly template site config on top.