The problem was solved by installing the .NET Core Hosting Bundle. Thanks for all.
Cannot read configuration file due to insufficient permissions
Dear Gurus!
I have installed Windows server 2012 R2, role of IIS . Published the site (Asp.net core default template) in the created folder "Monitor" and granted full write , read and execute permissions for all users for this folder. When I try to click on any icon in the middle of the iis screen in the site features view mode , I get error of reading web.config . I tried all the recommendations found but without success. How I can to solve this problem?
P.S. I published an asp.net core (and Blazor server in VS 2022 v.17.1.4) site many times on servers 2008 and 2012 and there were no problems. Now, after reinstalling the server, a problem has arisen that cannot be solved.