ok, so it's clearly not something i mistyped because I'm using all of the files from the chapter 6 download (PaidTimeOffBLL.Framework) as well as the base load from the database script, AND the BasePage.cs from the same download; the page in which this error occurs.
this is running on my local laptop machine so my current user is <domainname>\<myname>
would this have any bearing on why it won't work?
if so, where do I change/add this information to the database to get it to function?
I'm at a standstill here and can't move on to the next chapter because I'm not even able to pull up any pages done so far due to this error.
HELP!!!!!!
Source Error:
Line 118: else
Line 119: {
Line 120: switch (CurrentUser.GetCapabilityAccess(capability.ID, Globals.GetRoles(this.Cache)))
Line 121: {
Line 122: case ENTRoleCapabilityEO.CapabilityAccessFlagEnum.None:
Source File: c:\VSWebsites\PaidTimeOffSolution\PaidTimeOffUI\Ap p_Code\BasePage.cs Line: 120
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
BasePage.CheckCapabilities() in c:\VSWebsites\PaidTimeOffSolution\PaidTimeOffUI\Ap p_Code\BasePage.cs:120
BasePage.OnInit(EventArgs e) in c:\VSWebsites\PaidTimeOffSolution\PaidTimeOffUI\Ap p_Code\BasePage.cs:98
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Last edited by GenXisT; June 9th, 2009 at 11:19 AM..
|