473,327 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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

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
Nov 18 '05 #1
0 1453

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Nitin | last post by:
i dont know , what's the reson of this, but if i complile my solution in release mode , it works , but give buid error in Debug mode -- "Unexpected error creating debug information file .pdb"....
0
by: arshad | last post by:
Hi, I am facing some problems in reading XML file into dataset in vb.net. The XML is having some duplicate tabels. I am getting the error message saying "The same table(imei_details) cannot be...
4
by: Oliver Knoll | last post by:
According to my ANSI book, tmpfile() creates a file with wb+ mode (that is just writing, right?). How would one reopen it for reading? I got the following (which works): FILE *tmpFile =...
0
by: Amratash | last post by:
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...
30
by: siliconwafer | last post by:
Hi All, I want to know tht how can one Stop reading a file in C (e.g a Hex file)with no 'EOF'?
1
by: RML | last post by:
Hi, My VS 2005 VB app reads a binary file that was created by a VS 2005 VC++ WinCE app. The VC++ app writes the following structure to the file. typedef struct { short ID; TCHAR Num; }...
11
by: trs-ggcsea | last post by:
Hi, I am reading a file from a UNC path in my Visual studio 2005 C# (.NET 2) program and getting an access denied exception. I am unsure if this access denied is due to the .NET security...
8
by: Lonifasiko | last post by:
Hi, Using Process class I asynchronously launch an executable (black box executable) file from my Windows application. I mean asynchronously because I've got an EventHandler for "Exited" event....
2
by: sachinwadi | last post by:
Hi, Sachin here. I have a problem with XML using with VB6.0. I Have a XML file of size nearly 129MB. I am reading the file using XML DOM object and the retrieved record i am inserting into...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.