IIS 500.19 with 0x80070005 The requested page cannot be accessed because the related configuration data for the page is invalid error

asp.netiis-7iis-manager

I want to upload my own asp.net website on IIS with IIS Manager. But when I do this, I get the following error

HTTP Error 500.19 – Internal Server Error The requested page cannot be
accessed because the related configuration data for the page is
invalid

Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x80070005
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Users\Yasso\Documents\Visual Studio 2008\WebSites\WebSite5\web.config

I searched many times for a solution for this error, but none of the solutions solved the error.

I have a problem with my IUSR account. I can't see this account in the "group or user names" in the properties of the web.config.

What is the problem?

Best Answer

This can also happen if the site is configured to use the IIS URL Rewrite module but it is not installed.