I'm trying to configure one virtual directory in my IIS 7.5 web server as I have been doing with an old IIS 6 and I'm having problems to get it. I have configured one test using a local folder as a physical path, but I need to use a shared folder in a remote computer.
The configuration is easy.
- Physical path : \\server\sharefolder
(I use a domain user in connect as with permissions on the shared folder)
- Anonymous Authentication enable (I use also the same user used for the basic settings section)
- set to enable
With this configuration, the system creates a web.config file (I don't modify it)
<?xml version="1.0" encoding="UTF-8"?>
<directoryBrowse enabled="true" />
When I try to browse the web, I get this message:
Server Error in '/' Application.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to '\\hotsname\webtest' because access is denied.
[No relevant source lines]
Source File: \\hotsname\webtest\web.config Line: 0
I don't know what I'm doing wrong... I have similiar configurations in a web server with IIS 6 working without problems.
Thanks in advanced.