DEV Community

Cover image for IIS error (500.19)
Flavio Campelo
Flavio Campelo

Posted on

IIS error (500.19)

📮 Contact 🇧🇷 🇺🇸 🇫🇷


500.19-IIS error when running web application

Maybe you're trying to run an web application from VS in a company domain and then you find this error:

Image 1

The problem is about the authorizations to the user which is running the application pool on IIS. That user doesn't have access to the web.config file in the project's directory.

So, you have to find the web.config file and give access to that user.

When you find the file, right-click it and then click on Properties and finally open the Security tab. You have to add a new authorization to the IIS_IUSRS group. This is a local group so, if you're in a domain, you must to select your local computer to find it.


Every user (service network, local system, etc) that your website uses. See microsoft documentation for further details.

Typos or suggestions?

If you've found a typo, a sentence that could be improved or anything else that should be updated on this blog post, you can access it through a git repository and make a pull request. If you feel comfortable with github, instead of posting a comment, please go directly to and open a new pull request with your changes.

Top comments (0)