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 148:
Line 149:                    // added: Jes1111 2004-08-02 - custom module theme
Line 150:						if (_portalSettings.CustomSettings.ContainsKey("SITESETTINGS_ALLOW_MODULE_CUSTOM_THEMES")
Line 151:							&& _portalSettings.CustomSettings["SITESETTINGS_ALLOW_MODULE_CUSTOM_THEMES"].ToString() != string.Empty
Line 152:							&& bool.Parse(_portalSettings.CustomSettings["SITESETTINGS_ALLOW_MODULE_CUSTOM_THEMES"].ToString()))

Source File: c:\Websites\Sajax6\App_Code\UI\WebControls\PortalModuleControl.cs    Line: 150

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Rainbow.UI.WebControls.PortalModuleControl..ctor() in c:\Websites\Sajax6\App_Code\UI\WebControls\PortalModuleControl.cs:150
   Rainbow.Design.Theme..ctor() in c:\Websites\Sajax6\App_Code\Design\Themes\Theme.cs:209
   Rainbow.Design.ThemeManager..ctor(String portalPath) in c:\Websites\Sajax6\App_Code\Design\Themes\ThemeManager.cs:209
   Rainbow.Configuration.TabSettings.GetTabBaseSettings() in c:\Websites\Sajax6\App_Code\Configuration\Settings\TabSettings.cs:311
   Rainbow.Configuration.TabSettings.GetTabCustomSettings(Int32 tabID) in c:\Websites\Sajax6\App_Code\Configuration\Settings\TabSettings.cs:505
   Rainbow.Configuration.TabSettings.get_CustomSettings() in c:\Websites\Sajax6\App_Code\Configuration\Settings\TabSettings.cs:82
   Rainbow.Configuration.PortalSettings.GetCurrentTheme() in c:\Websites\Sajax6\App_Code\Configuration\Settings\PortalSettings.cs:517
   Rainbow.UI.Page.get_CurrentTheme() in c:\Websites\Sajax6\App_Code\UI\Page.cs:749
   Rainbow.UI.Page.OnLoad(EventArgs e) in c:\Websites\Sajax6\App_Code\UI\Page.cs:176
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0