473,386 Members | 1,702 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,386 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
3 1603
The key is in the error message.

When I set the requestLimit to lower number, or set to false, I don't get
the message, because the trace doesn't execute on the erroneous page.

The problems are:

Wich object on can't initialize?

Why on executes normally, when I disable tracing?

Thanks in advance

Gabor

"Gabor" <pr******@axelero.hu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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 #2
The key is in the error message.

When I set the requestLimit to lower number, or set to false, I don't get
the message, because the trace doesn't execute on the erroneous page.

The problems are:

Wich object on can't initialize?

Why on executes normally, when I disable tracing?

Thanks in advance

Gabor

"Gabor" <pr******@axelero.hu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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 #3
Hi Gabor,

Would you please try to write a simple ASP.NET application to test if this
problem still exists? I want to check if it is an issue related to a
specific application or it is a problem of the asp.net framework. Thank you
for your understanding.

Best regards,

Jacob Yang
Microsoft Online Partner Support
<MCSD>
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 17 '05 #4

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

Similar topics

4
by: Peter Row | last post by:
Hi, I have created a UserControl which is subsequently hosted on a standard form. My control has a TabControl on it but it has no TabPages configured. At runtime I create X pages and put a...
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...
1
by: Xu ChunMing | last post by:
Hi, I develop a Asp.net application using VS.NET and It work well on my computer . but when I deploy the application to another IIS runming manching . I just copy the whole folder of the...
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: ...
0
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...
25
by: n3crius | last post by:
hi, i just got a web host with asp.net , seemed really cool. aspx with the c# or vb IN the actual main page run fine, but when i use codebehind and make another source file ( a .cs) to go with...
5
by: Eric Sabine | last post by:
the second I add <appSettings> </appSettings> to my web.config file (just after the <system.web>), my web application will no longer run. I get an error that reads: Error while tyring...
0
by: Bob | last post by:
When I use OLEobject.Action=acOLEDelete, It cause error like "You can't use the Action property to delete a bound OLE object from its underlying table or query." but the BoundObjectFrame control...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
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,...
0
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,...
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...

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.