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

trace enabled, get app. error, doesn't enabled, on runs without error

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:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
System.Web.UI.Page.ProcessRequestMain()

If I set the <trace enabled="false"/>, the application executes normally.

I'm using dotnet framework 1.0 on Windows XP prof.

Thanks in advance

Gabor

Nov 17 '05 #1
6 1346
Gabor,

It sounds as if you're missing a "New" statement on that object.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Gabor" <pr******@axelero.hu> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
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:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
System.Web.UI.Page.ProcessRequestMain()

If I set the <trace enabled="false"/>, the application executes normally.

I'm using dotnet framework 1.0 on Windows XP prof.

Thanks in advance

Gabor

Nov 17 '05 #2
Gabor,

It sounds as if you're missing a "New" statement on that object.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Gabor" <pr******@axelero.hu> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
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:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
System.Web.UI.Page.ProcessRequestMain()

If I set the <trace enabled="false"/>, the application executes normally.

I'm using dotnet framework 1.0 on Windows XP prof.

Thanks in advance

Gabor

Nov 17 '05 #3
Thank You for the quick answer, but WICH object?

From the error message, I can't find where is the suspicious object, and
more interestingly, the app. executes well, if trace disabled.

When I debug the application, the default.aspx file form_load event executes
normally, and the project built without error.

??

Thanks in advance

Gabor

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Gabor,

It sounds as if you're missing a "New" statement on that object.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Gabor" <pr******@axelero.hu> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
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:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
System.Web.UI.Page.ProcessRequestMain()

If I set the <trace enabled="false"/>, the application executes normally.
I'm using dotnet framework 1.0 on Windows XP prof.

Thanks in advance

Gabor


Nov 17 '05 #4
Thank You for the quick answer, but WICH object?

From the error message, I can't find where is the suspicious object, and
more interestingly, the app. executes well, if trace disabled.

When I debug the application, the default.aspx file form_load event executes
normally, and the project built without error.

??

Thanks in advance

Gabor

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Gabor,

It sounds as if you're missing a "New" statement on that object.

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Gabor" <pr******@axelero.hu> wrote in message
news:eq**************@tk2msftngp13.phx.gbl...
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:

[NullReferenceException: Object reference not set to an instance of an
object.]
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean
calcViewState)
System.Web.UI.Page.ProcessRequestMain()

If I set the <trace enabled="false"/>, the application executes normally.
I'm using dotnet framework 1.0 on Windows XP prof.

Thanks in advance

Gabor


Nov 17 '05 #5
Hi Gabor,

I notice that you have provided more detailed information for this issue on
another post in the microsoft.public.dotnet.framework.aspnet group. I think
that we should work on this issue on that thread.

Trace enabling in web config cause app. error

If you have any concerns, please feel free to let me know.

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 #6
Hi Gabor,

I notice that you have provided more detailed information for this issue on
another post in the microsoft.public.dotnet.framework.aspnet group. I think
that we should work on this issue on that thread.

Trace enabling in web config cause app. error

If you have any concerns, please feel free to let me know.

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 #7

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

Similar topics

4
by: Jazz | last post by:
Hello, I have a question about trace as MSDN seems confuses me.(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsTraceClassTopic.asp). My answer...
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...
3
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?...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
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"...
1
by: Patrick | last post by:
When Tracing in ASP.NET, the IIS process (on IIs5.1) is locking on the Trace file, and I can't read the trace file without restarting the IIS: Even the following does NOT work (how could I fix...
3
by: InK_ | last post by:
Hi There are two parts: web service and test app that called a method of the web service. Diagnostics trace is enabled but I can't find trace files on webserver:( I'm using WSE 2.0. any ideas?...
3
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...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
agi2029
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,...
0
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...

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.