Users Pricing

forum

Home Forums Why does my IIS app pool get access denied to files I can open? – MindStick

Why does my IIS app pool get access denied to files I can open?

Anubhav Sharma 165 04 Oct 2026

I’m troubleshooting an IIS site where a page needs to read files from a folder outside the site directory. I can open those files from my own Windows account, but the site gets an access denied error.

The app pool is using ApplicationPoolIdentity. I’ve granted permissions to the site’s folder, but not yet to the separate data folder. Is granting access to IIS AppPool\PoolName the right approach, or is there another identity IIS uses when it reads files on a different drive?

If you’ve run into this, I’d also be interested in how you handle permissions when the app pool needs to write files as well as read them.


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md