Situation: One of my friend written an application where the image need to upload into a folder which is in IIS a virtual directory and also he wants to access that image.
But in the process when he is access the image in that folder he is getting an error like “Access Denied”.
Solution:
Since they deployed the asp.net application through IIS. We need to give that particular folder Read/Write Access forĀ  IIS_IUSRS users group.