here's the set up I'm trying to go work.
Windows 7, with files for an "ASP.NET Web Application" (a new one created by wizard for this test) installed in c:\tfsprojects\test\test this project opens and builds in Visual Studio 2010 just fine.
Windows Server 2003, running inside of VMWare Workstation 8.
VMWare has a mapping so that the native filesystem c:\tfsprojects appears as \vmware-host\Shared Folders\tfsprojects inside the VM
IIS inside of the VM, set up to run a default website on 80 from \vmware-host\Shared Folders\tfsprojects\test
Problem is, when I access http://localhost/test (inside the VM) I get the following error:
[HttpException (0x80070001): Failed to start monitoring changes to '\\vmware-host\Shared Folders\tfsprojects\test\'.] System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter) +139 System.Web.DirectoryMonitor.StartMonitoring() +42 System.Web.DirectoryMonitor.StartMonitoringFile(String file, FileChangeEventHandler <snip>
[HttpException (0x80004005): ASP.NET Initialization Error] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +982 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
I've set up the c:\tfsprojects directory to have full permissions for 'everyone' as well as explictly adding permissions for a domain anonymous user (and setting IIS to use that username for anonymous permissions under directory security tab).
Any ideas? This one has me completely stumped. For various reasons I can't seem to do this any other way. Hugely appreciative on any help.