An unhandled exception has occurred

T

tedykim11

I have following errors. Does anyone how to resolve this issue?

Source: ASP.NET 2.0.50727.0
EventID: 1309

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/11/2008 3:29:22 PM
Event time (UTC): 2/11/2008 9:29:22 PM
Event ID: f4261356628249fa81a934aaf201a3eb
Event sequence: 36253
Event occurrence: 11513
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/7/Root-4-128472197462968750
Trust level: Full
Application Virtual Path: /
Application Path: E:\inetpup\wwwroot\mysite\
Machine name: 8145WWW1

Process information:
Process ID: 456
Process name: aspnet_wp.exe
Account name: WWW1\ASPNET

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an
object.

Request information:
Request URL: http://x.x.x.x/Default.aspx
Request path: /Default.aspx
User host address: x.x.x.x
User:
Is authenticated: False
Authentication Type:
Thread account name: WWW1\ASPNET

Thread information:
Thread ID: 22
Thread account name: WWW1\ASPNET
Is impersonating: False
Stack trace: at
ASP.nosidebar_master.__Render__control2(HtmlTextWriter __w, Control
parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlTitle.Render(HtmlTextWriter
writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at ASP.nosidebar_master.__RenderHead1(HtmlTextWriter __w, Control
parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at
System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter
writer)
at
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at ASP.nosidebar_master.__Render__control1(HtmlTextWriter __w,
Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:
 
J

Jeff Dillon

tedykim11 said:
I have following errors. Does anyone how to resolve this issue?

Source: ASP.NET 2.0.50727.0
EventID: 1309

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/11/2008 3:29:22 PM
Event time (UTC): 2/11/2008 9:29:22 PM
Event ID: f4261356628249fa81a934aaf201a3eb
Event sequence: 36253
Event occurrence: 11513
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/7/Root-4-128472197462968750
Trust level: Full
Application Virtual Path: /
Application Path: E:\inetpup\wwwroot\mysite\
Machine name: 8145WWW1

Process information:
Process ID: 456
Process name: aspnet_wp.exe
Account name: WWW1\ASPNET

Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an
object.

Request information:
Request URL: http://x.x.x.x/Default.aspx
Request path: /Default.aspx
User host address: x.x.x.x
User:
Is authenticated: False
Authentication Type:
Thread account name: WWW1\ASPNET

Thread information:
Thread ID: 22
Thread account name: WWW1\ASPNET
Is impersonating: False
Stack trace: at
ASP.nosidebar_master.__Render__control2(HtmlTextWriter __w, Control
parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.HtmlControls.HtmlTitle.Render(HtmlTextWriter
writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at ASP.nosidebar_master.__RenderHead1(HtmlTextWriter __w, Control
parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at
System.Web.UI.HtmlControls.HtmlHead.RenderChildren(HtmlTextWriter
writer)
at
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter
writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at ASP.nosidebar_master.__Render__control1(HtmlTextWriter __w,
Control parameterContainer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Control.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter
writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter
writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:

Yes, debug and find the line of code that is causing this error?

Jeff
 
M

Mark Fitzpatrick

All this is telling you is that you are accessing an object that has not
been instantiated yet. For some reason the object is null and not returning
any data. You need to set the compilation mode to debug instead of release
so that you can get the correct line number of the error and backtrack to
ensure it's there.

Another common reason for this is removing an item from the designer, but
still referencing it in code.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top