Server Error in '/' Application.

Object variable or With block variable not set.

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 variable or With block variable not set.

Source Error:


Line 61: 
Line 62:         '---make the title and metadescription and stuff
Line 63:         Me.Title = fvProductDetails.DataItem("productName").ToString & Me.Title
Line 64:         Me.MetaDescription = fvProductDetails.DataItem("shortDescription").ToString
Line 65:         breadCrumbs1.Product = fvProductDetails.DataItem("productName").ToString

Source File: C:\inetpub\wwwroot\AdamsExtract\InStores\ProductDetails.aspx.vb    Line: 63

Stack Trace:


[NullReferenceException: Object variable or With block variable not set.]
   Microsoft.VisualBasic.CompilerServices.Container..ctor(Object Instance) +1232589
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateInvokeDefault(Object Instance, Object[] Arguments, String[] ArgumentNames, Boolean ReportErrors, Boolean[] CopyBack) +40
   Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateIndexGet(Object Instance, Object[] Arguments, String[] ArgumentNames) +56
   ProductDetails.fvProductDetails_DataBound(Object sender, EventArgs e) in C:\inetpub\wwwroot\AdamsExtract\InStores\ProductDetails.aspx.vb:63
   System.Web.UI.WebControls.BaseDataBoundControl.OnDataBound(EventArgs e) +109
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +165
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +34
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +151
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +76
   System.Web.UI.WebControls.FormView.DataBind() +10
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +114
   System.Web.UI.WebControls.FormView.EnsureDataBound() +194
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +76
   System.Web.UI.Control.EnsureChildControls() +97
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +31
   System.Web.UI.Control.FindControl(String id) +14
   ProductDetails.ProductDetails_PreRender(Object sender, EventArgs e) in C:\inetpub\wwwroot\AdamsExtract\InStores\ProductDetails.aspx.vb:110
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +9880346
   System.Web.UI.Control.PreRenderRecursiveInternal() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4110.0