Internal Server Error. The requested page cannot be accessed.

Ashot Khachatryan 1 Reputation point
2022-11-17T04:54:26.737+00:00

The app was running fine, until I removed Visual Studio 2019 because I am being able to compile and run it with VS2022.

Now it brings this error which gives absolutelly no information what could possibly be wrong. The web.config is just a web.config which was working fine.
How in 2022 errors can look like this?

261227-screenshot-2022-11-17-084845.png

Windows development | Internet Information Services
{count} votes

1 answer

Sort by: Most helpful
  1. T. Kujala 8,766 Reputation points
    2022-11-17T05:07:54.13+00:00

    Hi @Ashot Khachatryan ,

    Have you tried the following methods?

    Delete the malformed XML element from the ApplicationHost.config or Web.config file.
    Check the unidentified XML elements, and then install the relevant IIS modules.

    https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/health-diagnostic-performance/http-error-500-19-webpage

    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.