Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried solution from this link Giving full control for NETWORK SERVICE user on ASP.NET temp-folder also I tried set permissions manually. But nothing helps...

Update: My link looks like: https://localhost:44301/ When I am running my site on webmatrix it's work fine(but on another url). But VS or direct links doesn't works.

share|improve this question
up vote 0 down vote accepted

It's probably running under the IUSR account. If you go to the site and check your authentication -> anonymous authentication, you can set the user to use the app pool identity. Then everything will run as the app pool identity.

Here's a quick video I put together that covers the main security accounts in IIS and how they should be configured: Securing IIS.

share|improve this answer
maybe I understood something wrong, but why after I add full permissions to IUSR I still have this error? – Yaroslav Bigus Jul 20 '11 at 14:40
That should take care of it. The different between the app pool user and the anonymous user depends on the application and whether it impersonates or not. You can check out Week 20 on process monitor to help troubleshoot this better:… – Scott Forsyth - MVP Jul 20 '11 at 15:22
also I set Identity to ApplicationPoolIdentity and still have error – Yaroslav Bigus Jul 20 '11 at 15:23
It will run under the identity that the app pool is set at then. Possibly the code calls out to a path that's somewhere else on disk. Check out the two links I sent. They cover how to track this down. – Scott Forsyth - MVP Jul 20 '11 at 15:46
I did it! Thank you very very mutch!!!! =))) – Yaroslav Bigus Jul 20 '11 at 15:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.