What I want to achieve is simple:
- I have a website, say "my-site" - http://localhost
- In this website I have a (physical) folder "foo" - http://localhost/foo
- Inside the "foo"-folder I want to have a virtual directory (application?) called "upload", so the URL becomes http://localhost/foo/upload
Notice that "my-site" is an empty website with a bunch of folders in it, "foo", "bar", "baz", etc.
So when I right click on "foo" and choose "New > virtual directory" and add my application I've written in VS.NET and then try to navigate to http://localhost/foo/upload I get this error:
Parser Error Message: An error occurred loading a configuration file: Failed to
start monitoring changes to 'C:\InetPub\my-site\foo\web.config'
because access is denied.
The thing is, there is no web config. in the "foo"-folder, and it shouldn't since it's only a normal folder in the site. If I add the virtual directory at the top level, at say http://localhost/foo_upload, everything works as it should... so, what am I doing wrong here?