Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Urgent Pls: Facing problem in reading Log information from Log file, created by IIS

Reply
Thread Tools

Urgent Pls: Facing problem in reading Log information from Log file, created by IIS

 
 
Amratash
Guest
Posts: n/a
 
      04-13-2004
Hi,
I needyour help.Its urgent.
My main aim is to log the site activities in a database at runtime.
I'm using W3C Extended Log File format for logging information. I can use
ODBC Logging directly but I want cookies in place of IP Address. And Cookies
are available only in W3C Extended logging format.
Anyway, the IIS is creating the log file in
D:\WINDOWS\system32\LogFiles\W3SVC1 folder correctly.
Now I want to read text from this file & manipulate it and store in
database. For this I developed an windows application which will use
STREAMREADER to read contents of log file.
When one of the web application, which is host at this server, is running &
at that time if i try to read from log file then I'm getting an error of
"ACCESS DENIED : FILE IS BUSY WITH OTHER PROCESS"

If i stop the website, then after 2-3 mins, i will be able to read from that
log file.

What to do here...Can't we change the permissionsof the log file?
Pls reply soon. Its really urgent.
Thanks.
Regards,
Amratash


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
very urgent i am facing problem to downloading JMF rajbala.3399@gmail.com Java 5 11-22-2006 09:28 AM
How to log independently of other webapps using log4j? Also, reading from log file from within servlet? unomystEz Java 0 11-19-2006 10:42 AM
ASP Problem: "IIS log failed to write entry" in Event Log cherryparadise001@gmail.com ASP General 0 05-26-2006 01:52 AM
More Information than just IIS Log Information subrato ASP .Net 8 03-14-2006 09:59 PM
Urgent problem, repeat, Urgent problem. Rob Javascript 3 05-18-2004 12:05 AM



Advertisments