I am trying to setup a virtual directory in IIS7 to a network share folder, however I am getting access denied errors.
I have created a user on both servers with identical names and passwords, and given read+write permissions on the folder for that user, I have then used the 'Connect As' option on the virtual directory and selected my newly created user. I have also selected my new user for the application pool on both servers just to be sure.
I am using Process Monitor to monitor the files / folder, each time i try and access the virtual directory through a web browser I can see Access Denied on the file i am accessing. Process monitor recognises that I am using my newly created user too.
Is there anything more I need to do or check...i have read numerous forums which repeat the same information which I have tried.
The access denied error seems to be on a 'web.config' file in the virtual directory rather than the file I am accessing in the browser. I have tried with a barebones web.config file in the directory (with full permissions for my user) and also with no web.config file...same result.
UPDATE:
I get this when clicking 'Test Settings' on the VD basic settings option:
The server is configured to use pass-through authentication with a custom account to access the specified physical path. This account cannot access the path because the account does not have Read access. Grant the account Read access to the path and test these settings again.
However i have ensure my new user has full permissions on the networked machine.
Thank You, Paul