I port some ASP.Net applications from IIS6 to IIS7 and everything went well. I am trying to create several virtual directories on 1 server that will point to files on another server. In IIS6, all I had to do was do anonymous authentication using a user with file access. In IIS7, I cannot get it to work. I am setting up a virtual directory with a username and password, but I get error 500.19 "Cannot read the configuration file due to insufficient permissions." I cannot imagine that I really need to put the web.config file into a directory that contains only images and application files. If I click on a directory in IIS Manager, I get this error in the web.config file for everything that I click, for example, the "Authentication" section. Moreover,writing to files from a virtual directory seems to work very well, so I don’t think that I have a problem with access anyway. I gave the directory access to the IIS_IUSR group.
source
share