ok I fixed that problem on my own I was able to reproduce the error on the downloadable version, silly me I removed the Inherits. I put them back in so now I get categories on my quick search and Advanced search, but now when I got to the subcategories page I get this error.
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 34:
Line 35: lblCategoryDesc.Text = deptRow["Description"].ToString() + " > " + catRow["Description"].ToString();
Line 36: newTitle.Text = "The Wine Shop : " + lblCategoryDesc.Text;
Line 37: if (!Page.IsPostBack)
Line 38: {
Source File: c:\inetpub\wwwroot\wineshopny\wineshopny\subcatego ry.aspx.cs Line: 36
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
WS.Web.Subcategory.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\wineshopny\wineshopny\subcatego ry.aspx.cs:36
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +714
What is it looking for?
Brett G. Murphy
|