467,921 Members | 1,306 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,921 developers. It's quick & easy.

Application level trace stops tracing

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
Nov 19 '05 #1
  • viewed: 1344
Share:
5 Replies
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*****@discussions.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


Nov 19 '05 #2

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*****@discussions.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


Nov 19 '05 #3
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*****@discussions.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


Nov 19 '05 #4
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*****@discussions.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

Nov 19 '05 #5
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*****@discussions.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
>
>


Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sean | last post: by
3 posts views Thread by asapjim | last post: by
reply views Thread by rehto | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.