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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ViePortal.DesktopHelper.GetDesktopById(String id, Boolean enableCached, Boolean reload) +140
   ViePortal.DesktopHelper.GetDesktopById(String id, Boolean enableCached) +123
   ViePortal.DesktopHelper.GetDesktopById(String id) +44
   ViePortal.Portal.get_DefautlHomeDesktop() +60
   ViePortal.SiteInfo.get_HomeDesktop() +93
   ViePortal.Global.get_HomepageUrl() +171
   ViePortal.DefaultPage.ProcessPortalHomePage() +182
   ViePortal.DefaultPage.ProcessHomePage() +342
   ViePortal.DefaultPage.ViePortalDefaultPageOnLoad(Object sender, EventArgs e) +463
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   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.8974; ASP.NET Version:2.0.50727.8974