1
Access to the path "[DocumentCache]:\" is denied due to insufficient permissions
Problem reported by Louie McLaughlin - 4/19/2022 at 10:17 AM
Resolved
I'm getting this message - Access to the path "[DocumentCache]:\" is denied due to insufficient permissions. Please make sure the current windows identity "IIS APPPOOL\DefaultAppPool" has the required permissions on the path.
It only happens when published to the webserver, it doesn't do it when I run it local.
I've tried setting the .Document = path several ways such as "C:\Files\something,pdf or Server.MapPath or "~/files/ still getting same message.

Any idea how to solve this issue?

1 Reply

Reply to Thread
0
Louie McLaughlin Replied
Marked As Resolution
After reading a post I found someone had mentioned that the folder where the cache was being created needed modify privileges, I added modify privilege to that directory and it now works.

Reply to Thread