It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond applicat

In addition to the Web.config in the root directory, the subfolder seems to have other subroutines embedded in it, resulting in other Web.config in the secondary directory
If not necessary, delete the Web.config file in the subfolder

Read More: