C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2722
Number of posts: 5749

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Log File Reading Posted by gbpatil16 on 11 Feb 2009 at 7:10 AM
I want following code using C# and ASP.NET 2.0?

1. How to read log file which is located in directory(C:\WINDOWS\system32\Logfiles\W3SVC1) 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.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.