Server Error in '/' Application.

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 168:        {
Line 169:            // add CurrentTheme CSS
Line 170:            this.RegisterCssFile(CurrentTheme.Name, CurrentTheme.CssFile);
Line 171:
Line 172:            // Stores referring URL in viewstate

Source File: d:\Websites\ConcordTravel\App_Code\UI\Page.cs    Line: 170

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Rainbow.UI.Page.OnLoad(EventArgs e) in d:\Websites\ConcordTravel\App_Code\UI\Page.cs:170
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9044; ASP.NET Version:2.0.50727.9047