When I first start up an ASP.NET application with tracing enabled in
web.config the first few pages show trace at bottom of the page but then at
some point the pages return to normal with no trace information displayed.
Can anyone tell me what might be causing the Trace to turn off?
Thanks for any help with this
..NET 1.1 running on localhost 5 1584
Is it the exact same pages that suddenly have no tracing information?
Is the Trace attribute in any of the ASPX pages that do not show
tracing?
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 7 Feb 2005 02:39:02 -0800, "Dabbler"
<Da*****@discus sions.microsoft .com> wrote: When I first start up an ASP.NET application with tracing enabled in web.config the first few pages show trace at bottom of the page but then at some point the pages return to normal with no trace information displayed.
Can anyone tell me what might be causing the Trace to turn off?
Thanks for any help with this
.NET 1.1 running on localhost
Thanks for your reply.
No the tracing disappears on subsequent pages. If I reload the original page
the trace info is missing. I have application trace turned on in web.config.
I do not have Trace.Write statements in the subsequent pages. If I reset
everything (reset state server, clear internet cache and cookies) the
application begins tracing again.
Michael
"Scott Allen" wrote: Is it the exact same pages that suddenly have no tracing information? Is the Trace attribute in any of the ASPX pages that do not show tracing?
-- Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 7 Feb 2005 02:39:02 -0800, "Dabbler" <Da*****@discus sions.microsoft .com> wrote:
When I first start up an ASP.NET application with tracing enabled in web.config the first few pages show trace at bottom of the page but then at some point the pages return to normal with no trace information displayed.
Can anyone tell me what might be causing the Trace to turn off?
Thanks for any help with this
.NET 1.1 running on localhost
Hi,
There is a requestLimit attribute of the trace element in the web.config
file that
Specifies the number of trace requests to store on the server. The default
is 10. If the limit is reached, trace is automatically disabled.
I think you should try increasing the count and cross check it whether it
disappears after page(s) gets displayed that no of times.
Hope that helps
"Dabbler" wrote: Thanks for your reply.
No the tracing disappears on subsequent pages. If I reload the original page the trace info is missing. I have application trace turned on in web.config. I do not have Trace.Write statements in the subsequent pages. If I reset everything (reset state server, clear internet cache and cookies) the application begins tracing again.
Michael
"Scott Allen" wrote:
Is it the exact same pages that suddenly have no tracing information? Is the Trace attribute in any of the ASPX pages that do not show tracing?
-- Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 7 Feb 2005 02:39:02 -0800, "Dabbler" <Da*****@discus sions.microsoft .com> wrote:
When I first start up an ASP.NET application with tracing enabled in web.config the first few pages show trace at bottom of the page but then at some point the pages return to normal with no trace information displayed.
Can anyone tell me what might be causing the Trace to turn off?
Thanks for any help with this
.NET 1.1 running on localhost
Thanks Tarun, that's probably it!
"Tarun Upadhyaya" wrote: Hi,
There is a requestLimit attribute of the trace element in the web.config file that Specifies the number of trace requests to store on the server. The default is 10. If the limit is reached, trace is automatically disabled.
I think you should try increasing the count and cross check it whether it disappears after page(s) gets displayed that no of times.
Hope that helps
"Dabbler" wrote:
Thanks for your reply.
No the tracing disappears on subsequent pages. If I reload the original page the trace info is missing. I have application trace turned on in web.config. I do not have Trace.Write statements in the subsequent pages. If I reset everything (reset state server, clear internet cache and cookies) the application begins tracing again.
Michael
"Scott Allen" wrote:
Is it the exact same pages that suddenly have no tracing information? Is the Trace attribute in any of the ASPX pages that do not show tracing?
-- Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 7 Feb 2005 02:39:02 -0800, "Dabbler" <Da*****@discus sions.microsoft .com> wrote:
>When I first start up an ASP.NET application with tracing enabled in >web.config the first few pages show trace at bottom of the page but then at >some point the pages return to normal with no trace information displayed. > >Can anyone tell me what might be causing the Trace to turn off? > >Thanks for any help with this > >.NET 1.1 running on localhost
Good catch, Tarun. I could swear during the 1.0 days the request limit
was how big the "stack" of trace information was, that is it did not
disable but kept around the most recent X traces.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Mon, 7 Feb 2005 20:53:02 -0800, Tarun Upadhyaya <t a r u n u p a d
h y a y a @ y a h o o . c o . i n> wrote: Hi,
There is a requestLimit attribute of the trace element in the web.config file that Specifies the number of trace requests to store on the server. The default is 10. If the limit is reached, trace is automatically disabled.
I think you should try increasing the count and cross check it whether it disappears after page(s) gets displayed that no of times.
Hope that helps
"Dabbler" wrote:
Thanks for your reply.
No the tracing disappears on subsequent pages. If I reload the original page the trace info is missing. I have application trace turned on in web.config. I do not have Trace.Write statements in the subsequent pages. If I reset everything (reset state server, clear internet cache and cookies) the application begins tracing again.
Michael
"Scott Allen" wrote:
> Is it the exact same pages that suddenly have no tracing information? > Is the Trace attribute in any of the ASPX pages that do not show > tracing? > > -- > Scott > http://www.OdeToCode.com/blogs/scott/ > > On Mon, 7 Feb 2005 02:39:02 -0800, "Dabbler" > <Da*****@discus sions.microsoft .com> wrote: > > >When I first start up an ASP.NET application with tracing enabled in > >web.config the first few pages show trace at bottom of the page but then at > >some point the pages return to normal with no trace information displayed. > > > >Can anyone tell me what might be causing the Trace to turn off? > > > >Thanks for any help with this > > > >.NET 1.1 running on localhost > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: serge calderara |
last post by:
dear all,
I have problem accessing section group in my configuration
application file. I got an error saying thta I can have
only one section ????
here is my application configuration looks like:
================================================
<?xml version="1.0" encoding="utf-8" ?>
|
by: Trace User |
last post by:
Hello,
I have a design question regarding Tracing and Trace
Switches.
I understand that Trace Switches can be configured through
an application's .config file. When a switch is
instantiated, the application automatically checks the
configuration file for a matching named switch. If there's
a match, the configuration parameters are set.
|
by: mark |
last post by:
Can't figure this one out. I appears to not be code related. After
surfing my asp.net web app for a while 5 - 10 min. it fails to open
any further connections to my access 2000 database. There seems to be
no set drop off point either that would point to a specific code
problem. I went through and made sure that I explicitly closed all my
connections when done and even called the dispose method after each
one. I noticed that asp.net...
|
by: Mo |
last post by:
Hi,
I have a webform which has vb.net code behind it and I would like it to
submit the entries in the fields into a sql server db using a stored
procedure. I have a central .vb file in my application that has all the
stored proc calls in it. in the Submit_Click Sub in my form.vb file, I
reference the function in my central .vb file which calls the stored proc.
The problem that I am having is that when I submit my form, it just...
|
by: tommy |
last post by:
hello everbody,
i write a little asp-application with forms-authentication.
i copy my aspx-files with web.config to my webspace and i get the
error above...
i tried to set the custom-errors-tag ="off"
but nothing happens....
what is my failure????
| |
by: Sean |
last post by:
HI There,
I am having trouble deploying my .aspx pages to a remote server, I have made
changes to the config file and it still returns an error. I have also
contacted the server administrator to create an application in IIS, what
other checks can I make?
Sean
!-- error mesage
|
by: asapjim |
last post by:
Hi, I have a C# class that is being used by an ASP.net application. How can
I include the tracing from the class in the ASP.net application's trace
output (trace.axd)?
|
by: Dick |
last post by:
How do I integrating ASP.NET Tracing with the Enterprise Library Logging
Application Block?
I guess this should be possible and in a similar way to the way ASP.NET
Tracing is integrated with System.Diagnostics Tracing as described in
http://msdn2.microsoft.com/en-us/library/b0ectfxd(VS.80).aspx. But I would
have thought this is something most ASP developers using the Logging
Application Block would want to do and therefore I expected to...
|
by: rehto |
last post by:
We have an ASP.NET 2.0 (C#) app and we want to enable tracing (see the code
snippets below).
The first time a user navigates to the app., the tracing works fine (the
ASP.NET tracing appears on the screen and writes to a text file). The
problem happens any subsequent time the app. is used--tracing doesn't
happen. It's as if tracing just turns itself off. So, we only get tracing
on the first time the app runs but never any other time.
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |