Previous Topic: Top Level DirectoriesNext Topic: Configuring the COM Proxy Runtime


Alternate File Locations

There may be cases when a COM Proxy is being executed by a host process which then impersonates a lower level authority user ID when executing the COM Proxy logic. In this case, the effective user ID may not possess the authority to write the trace log file into the desired default directory. In this case, the trace logic will attempt to create the log file using the following root directory hierarchy. In all cases, the lower level subdirectories will be as described previously.

  1. The root directory pointed to by the %USERPROFILE% environment variable. This is the default. If this fails, see the next step.
  2. The root directory pointed to by the %ALLUSERSPROFILE%. If this fails, see the next step.
  3. The root directory pointed to by the users %TEMP% environment variable.

Effective user IDs such as Network Service, Local Service, and Local System will have %TEMP%, which may be set to C:\Windows\TEMP.