Server Error in '/' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 459:
Line 460:            ltrlheader.Text = String.Format(headertext, TDUI.RecipeUI.RecipeURL(objrcp.RecipeId, objrcp.Name), objrcp.Name)
Line 461:            If objrcp.Description.Length > 300 Then
Line 462:                ltrldesc.Text = objrcp.Description.Substring(0, 300)
Line 463:

Source File: D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\recipe_showcase.aspx.vb    Line: 461

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   recipe_showcase.SetSliderDetails() in D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\recipe_showcase.aspx.vb:461
   recipe_showcase.Page_Load(Object sender, EventArgs e) in D:\Webroot\td2k8r2-64\tdcpreview.dytelworld.com\recipe_showcase.aspx.vb:539
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491