This is the situation:
I'm using IIS6 on windows server 2003
In my wwwroot, I have set up a folder cgi-bin, with a script in it that launches a console application on the server.
This works fine, the console application gets launched, but it fails writing to a log file with the following exception:
System.UnauthorizedAccessException: Access to the path 'D:\Website\error.log' is denied.
Now, when I start the console application straight from command line on the server it works fine.
Moreover, the permissions for both the ASP.NET Machine account and the NETWORK SERVICE account on this folder D:\Website are set to allow everything.
Apparently I'm missing a setting somewhere, but I don't know where to look.
Thanks in advance for your time!