473,388 Members | 1,340 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,388 software developers and data experts.

Managing Diagnostic Listener Files

Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting
it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew
Nov 18 '05 #1
4 1150
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhere.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew

Nov 18 '05 #2
to delete a file that is in use, you first rename the current file to a temp
name and then delete the current and the renamed file.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Dale" <da************@msndotcomNot.Net> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhere.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this
file
will grow and I want to understand how best to manage it. Ive tried

deleting
it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew


Nov 18 '05 #3
"Andrew" <So******@nowhere.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?


My practice is to not use them, but instead to use the
EventLogTraceListener.
--
John Saunders
johnwsaundersiii at hotmail
Nov 18 '05 #4
Ive tried renaming the file but I still get the inuse error. Any other
thoughts

Andrew
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O5**************@TK2MSFTNGP09.phx.gbl...
to delete a file that is in use, you first rename the current file to a temp name and then delete the current and the renamed file.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Dale" <da************@msndotcomNot.Net> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhere.com> wrote in message
news:Oi**************@TK2MSFTNGP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this
file
will grow and I want to understand how best to manage it. Ive tried

deleting
it but windows complains that it is in use. This is even the case when I stop IIS. The only way Ive found of deleting the file is by Rebooting the machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew



Nov 18 '05 #5

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

Similar topics

1
by: Park Yeon Jo | last post by:
About Error : ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor I installed Oracle 8.1.7 on Windows XP Professional. and I wanto connect to that server...
2
by: Cherrish Vaidiyan | last post by:
Hello all, A warm Xmas greetings to all. I have a small problem with starting up the database. Here my strategy. I have installed Oracle 9i R 2 on Red Hat 9. i created two database on this...
1
by: Cherrish Vaidiyan | last post by:
sir, I have a small error in Listener configuration.I have two system with a database in each. I am using Red Hat 9 and Oracle 9i. so i shall anme the database and system. system 1 - node2 ...
5
by: Axel Dachtler | last post by:
Hi, I have a listener problem. The listener cannot read SERVICE_NAME in TNS-Descriptor. The service-name I specified in Oracle Net Manager for this database is testdb as well. ...
0
by: Eliezer Figueroa | last post by:
Managing Multiple Excel incoming files? I have this situation. I have a client which have several locations they work primary with excel forms and they are thinking in doing reports with them....
0
by: Cuperman | last post by:
Does anyone know of an issue where a Configuration Exception is thrown when "Program Files" is used as part of the initialiseData value within a custom listener? eg: <system.diagnostics> <trace...
7
by: tgh003 | last post by:
I would be interested to hear how others are managing their javascript (.js) files from the original code vs the obfuscated version they publish to their site/webapp. I currently manage 2 files,...
2
by: Flook M | last post by:
I am a tester and have to regularly uninstall software and reinstall it. unfortunately Oracle does not seem to be designed to do this. I have used the uninstall facility but this does not put the...
5
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.