Log File Reading - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Log File Reading

gbpatil16gbpatil16 Posts: 2Member
I want following code using C# and ASP.NET 2.0?

1. How to read log file which is located in directory(C:WINDOWSsystem32LogfilesW3SVC1) using C# and ASP.NET 2.0?
2. How to store the content of that log file in database using SQL Server 2000?

Log file contain following information. I want to store that information in database.
Information like-
IIS version, Client IP Address, Access Time, Date, OS used by client, etc.

Please give me detailed procedure for this.
I will be thankful if anyone provide me such code.
Sign In or Register to comment.