Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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.
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.
0 · ·