View Single Post
  #1 (permalink)  
Old May 31st, 2008, 09:14 PM
sstuber sstuber is offline
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default I get an error when running ManageDepartments.aspx

I get this error when compiling ManageDepartments.aspx. Any ideas on what could be causing this? Thanks for the help!

Code:
Line 48:         Protected Shared ReadOnly Property Settings() As StoreElement
Line 49:             Get
Line 50:                 Return Globals.Settings.Store
Line 51:             End Get
Line 52:         End Property
 

Source File: D:\Documents and Settings\username\My Documents\Visual Studio 2005\WebSites\book\App_Code\BLL\Store\BaseStore.vb    Line: 50 

Stack Trace: 


[NullReferenceException: Object reference not set to an instance of an object.]
   MB.TheBeerHouse.BLL.Store.BaseStore.get_Settings() in D:\Documents and Settings\username\My Documents\Visual Studio 2005\WebSites\book\App_Code\BLL\Store\BaseStore.vb:50
   MB.TheBeerHouse.BLL.Store.Department.GetDepartments() in D:\Documents and Settings\username\My Documents\Visual Studio 2005\WebSites\book\App_Code\BLL\Store\Department.vb:104