473,320 Members | 2,088 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,320 software developers and data experts.

Trace enabling in web config cause app. error

Yestarday I post similar message, but I want to complete my observation.

I'm using forms authentication.

When <trace enabled="false"/> the app. runs normally.

When set to true, the application get an error after redirected to the
default.aspx from the login, and the trace page show the following error:

Trace Information
Category Message From First(s) From Last(s)
aspx.page Begin Init
aspx.page End Init 0,001624 0,001624
aspx.page Begin PreRender 0,319912 0,318288
aspx.page End PreRender 0,320124 0,000211
Unhandled Execution Error
Object reference not set to an instance of an object.
at System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
at System.Web.UI.Page.ProcessRequestMain() 0,324925 0,004801
When trace enabled, the application give the error several times, but after
3-4 experiments, executes normally, but the trace shows only unsuccesfull
tries.

The number of unsuccessfull trying grows, as I set the requestLimit to
larger number. If I set this number to 1, the app. executes without error.

Can anybody explain this behaviour?

I'm using VS 1.0 on Windows XP.
Nov 17 '05 #1
0 1032

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

Similar topics

2
by: Richard | last post by:
Hi, I'm having trouble setting up a config file based trace switch & listener. I added an application config file to my console based C# program using the "Add New Application Config File" button...
6
by: Gabor | last post by:
Hí All, Does anybody can help to solve this problem? When I set in the web.config file <trace enabled="true"/>, I get the following error in one of main web pages: ...
3
by: Gabor | last post by:
Yestarday I post similar message, but I want to complete my observation. I'm using forms authentication. When <trace enabled="false"/> the app. runs normally. When set to true, the...
1
by: Martin | last post by:
Hi, is it a wise thing to do to place trace listeners (that write to a text file) into an asp.net application. I wish to do this for testing so that a user may vist as many different pages as...
5
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...
9
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"...
5
by: vsr | last post by:
is there any way to remove some information from trace, tracing by default displays session , application variables, but i need to remove these two from trace.can any let me know how can i do it?
1
by: Tris | last post by:
I've got a web service running, and i'm trying to build tracing into it that is outputted to a file. Unfortunately, i can't find a way of enabling TRACE token, and it just seems to skip over all...
0
by: Grant Schenck | last post by:
I have an ASP application which uses a COM object I developed. That object uses OutputDebugString as well as writing to a text file to trace internal activity. If I test my ASP page from Visual...
1
by: tshad | last post by:
I have a page (which uses masterpages) that displays fine and shows the trace details. but when I do a postback to display my GridView, I get the message: ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.