Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

An unhandled exception has occurred

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tedykim11 - 11 Feb 2008 23:14 GMT
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:
Jeff Dillon - 11 Feb 2008 23:43 GMT
>I have following errors. Does anyone how to resolve this issue?
>
[quoted text clipped - 93 lines]
>
> Custom event details:

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

Jeff
Mark Fitzpatrick - 12 Feb 2008 02:57 GMT
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

>I have following errors. Does anyone how to resolve this issue?
>
[quoted text clipped - 93 lines]
>
> Custom event details:

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.