I have a WCF web service that I am hosting in IIS (actually running within the Visual Studio web host i.e. Cassini).
I have a file that I have to access in the root of the web directory from the service, and am having trouble figuring out the user identity that the service accesses the directory as. I've given permission to ASPNET, NETWORK SERVICE, and IUSR, but none of these seem to work.
Anyone know what the user is that a WCF service runs as when it's hosted within IIS?
MORE INFO:
Indeed, the WCF service is running as me (my windows account), but for whatever reason, it still cannot open a file in its root directory. The file failed with "Access is Denied". I've given "Everyone" Full Control of the folder, and it doesn't seem to matter.