The EDI Server runs as part of Microsoft Internet Information Services (IIS). For security reasons, IIS runs under a special account that can read and write to only a small number of directories. (This is so that if the IIS server is compromised, the damage can be contained.) It is likely that this account does not have permission to write to the directory you specified.

Configure the directory permissions for the directory that you want the logging output to be written to, so that the IIS account has permission to read and write to it. The exact account used by IIS depends on its version and protection level. The simplest solution is to allow permissions for all three of the possible accounts, as follows:

  1. In Windows Explorer, right-click on the directory that you want the logging output to be written to and select Properties.
  2. On the Properties dialog, select the Security tab and click Add.
  3. Click Locations and select the machine itself at the top of the list.
  4. Enter "ASPNET" in the Enter the object names to select box and click OK.
  5. The "ASP.NET Machine Account" now appears on the security tab. Select this account and tick the Allow box for the Write permission. Click Apply.
  6. Repeat steps 2 - 5 for the accounts "IWAM_<MACHINE NAME>" ("Launch IIS Process Account") and "IUSR_<MACHINE NAME>" ("Internet Guest Account"). Replace <MACHINE NAME> with the name of the PC.
  7. Click OK to close the Properties dialog.