This project is read-only.

Real time logging on remote server

Apr 2, 2015 at 7:46 AM
When I try to access a IIS logfile on a remote server via
I get an error that says logfile is already opened by another process. Logfiles from past days work fine. Is there any way to open the logfile of the current day?

Apr 2, 2015 at 6:37 PM
Hi WisPlex,

I could not reproduce the problem on my machines with Windows Server 2012 (6.2.9200) and IIS 8.0.
The W3C enumerable is not doing anything special. It just calls File.OpenText(...)) which uses read-only mode.

My suggestion is to:
  • try opening the file with Notepad
  • try just File.OpenText(file)) without anything from Tx
Note that IIS buffers before writing to the log, so there is some (unpredictable) delay to see the events.