DEV Community

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

Posted on

2 1

IIS error (500.19)

📮 Contact 🇧🇷 🇺🇸 🇫🇷

Twitter
LinkedIn


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.

IIS_IUSRS group

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 https://github.com/campelo/documentation and open a new pull request with your changes.

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay