View Single Post
  #2 (permalink)  
Old June 19th, 2003, 12:00 AM
nodoubt223rd nodoubt223rd is offline
Authorized User
 
Join Date: Jun 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to nodoubt223rd Send a message via MSN to nodoubt223rd Send a message via Yahoo to nodoubt223rd
Default

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