Hi ,
I am using IIS 5.1 , as a part of my application I had to read IIS FTP logs from my application which needs to be updated, but when I start the application using this "http://www.codeproject.com/KB/files/LogMonitor.aspx" I found it reads the log messages as long as connection is not made, once any client makes connection , the log size automatically increases to 64k and once the IIS FTP is disconnected , the file size comes to its actual size by which this application is not able to read logs in real time!
I wrote my own application before testing with this application,It was same behavior as of this application . I found out the when IIS FTP is connected , the log size increses to 64k and when open in a notepad it shows huge "NULL" charaters appended at end of the file, once the IIS is stopped and if the log file is opened the "NULL" charaters are not visible!.
I think something is going wrong when a client connects to IIS server. The time which is logged is also different from system time!
I would like to know if there is any pointers to this problem which I am facing in reading the logs, I found the application link which I have sent is used by many users who have mentioned it as excellent application , but some how I am not able use the application on my system.
I uninstalled IIS and re-installed it , It was all same,I appriciate if anyone in the form give me some pointers in this issue.
Thanks.