Cannot read configuration file due to insufficient permissions

A Terentiev 85 Reputation points
2023-11-02T07:10:07.2266667+00:00

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.

Developer technologies | ASP.NET | ASP.NET Core
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. A Terentiev 85 Reputation points
    2023-11-02T11:31:49.3366667+00:00

    The problem was solved by installing the .NET Core Hosting Bundle. Thanks for all.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.