473,659 Members | 3,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trace - AutoFush - potentional problem

My web application writes custom log file using Trace. I attached Listener to
Trace and turn of Autoflush option. Sometimes I got Server Error that access
to log file is denied because it is used by another process.

Is it posible that application ifself locks file while writing one
trace.write request, and if in same time comes second trace.write line
request, it founds log file locked.

Or I should look for probmlem somewhere other?

Thank you
Milan
Dec 26 '05 #1
2 1156

MilanB wrote:
My web application writes custom log file using Trace. I attached Listener to
Trace and turn of Autoflush option. Sometimes I got Server Error that access
to log file is denied because it is used by another process.

Is it posible that application ifself locks file while writing one
trace.write request, and if in same time comes second trace.write line
request, it founds log file locked.

Or I should look for probmlem somewhere other?

Thank you
Milan


Hi Milan:

You can try using the FileMon tool available from the
www.sysinternals.com site. This would provide more details on the file
usage and whether the Access Denied is caused because of the
authentication/Locked by another process.

HTH!
Skandy

Dec 26 '05 #2
Site is hosting company server, I dont think they will allow to install tools.
Thanks

"sk********@gma il.com" wrote:

MilanB wrote:
My web application writes custom log file using Trace. I attached Listener to
Trace and turn of Autoflush option. Sometimes I got Server Error that access
to log file is denied because it is used by another process.

Is it posible that application ifself locks file while writing one
trace.write request, and if in same time comes second trace.write line
request, it founds log file locked.

Or I should look for probmlem somewhere other?

Thank you
Milan


Hi Milan:

You can try using the FileMon tool available from the
www.sysinternals.com site. This would provide more details on the file
usage and whether the Access Denied is caused because of the
authentication/Locked by another process.

HTH!
Skandy

Dec 26 '05 #3

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

Similar topics

2
12092
by: Alex Smith | last post by:
Hi all, I have an application that uses Oracle's JDBC thin driver 9.0.x to have a nice, friendly chat with 8.1.x database. During this exchange the server rudely interrupts the conversation and causes the application to fubar. The driver reports this as 'Connection reset' (IOException) without any error numbers. The server is hosted by a 3rd party in one of those "controlled" environments so my first guess is network/tx timeout but...
0
3668
by: Mike Schilling | last post by:
I have some code that calls methods reflectively (the method called and its parameters are determined by text received in a SOAP message, and I construct a map from strings to MethodInfos). The code that does the call looks roughly like: try { // do reflective call response = method.Invoke(obj, params); }
0
1218
by: martin | last post by:
Hi, I have created an asp.net application as a project, and also another project that is just a class library. My asp.net application calls a function in the class library. I am attempting to place instrumentation inside the function of my class library to write to a text file, I am using an TextWriterTraceListener object.. The problem is that I can write to the trace listener with the following
5
2022
by: TPS | last post by:
When I set trace enable to true in my web.config file, the debug info does not display at the "bottom" of the page, it displays "under" all of my buttons, labels, grids etc. This behavior happens in GridLayout, or FlowLayout. ? Thanks, TPS.
3
1931
by: JR | last post by:
I'm experiencing a problem where, for seemingly no reason, trace output stops being logged (and appearing on my pages.) trace.enabled suddenly just turns to false. Any idea why this happens? It actually is happening on 2 machines I work on. Thanks.
5
2926
by: who be dat? | last post by:
Hello all. I'm writing an application that is writing trace information that can be viewed in trace.axd. I would like to rename this and use a different name specific to my application. I know the name of this is set in machine.config. I was hoping it would be possible to change this in web.config. I got it to work, kind of. Good news is I can change the name in my web.config file. Bad news is that trace.axd still works meaning I can...
9
4414
by: Joe Rattz | last post by:
I can't seem to get to trace.axd. I have turned tracing on in web.config. Here is how I currently have i configured: <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" />
3
2866
by: Arman Sahakyan | last post by:
Hi, I'm an MFC programmer and know little about .NET programming. Now, for some reasons, I'm developing an ASP .NET application... What I need to know is how to output into VS's Output Window like what MFC's TRACE macro does (during debugging). Could you please share your knowledge with me? Thanks in advance.
2
1240
by: Rick Mavrovik | last post by:
hi one of the pages in my asp.net application is taking very long to load. i want find out what is causing the problem. its probably ajax. i am not finding the asp.net trace any useful, i mean i do not know how to make that trace information useful in diagnosis of this problem..can any one help me in this regard.. direct to any good resource regarding asp.net trace..
0
8337
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8531
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.