Server Error in '/' Application.

An unhandled exception occurred during the execution of the current web request.

http://totalgaming.stardock.com/games/?id=CK
When I attempt to download the Celtic Kings Demo I get this error while using Stardock Central.


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:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:



Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
tgNET.CGlobals..cctor() +30

[TypeInitializationException: The type initializer for 'tgNET.CGlobals' threw an exception.]
tgNET.UC_RecentPosts..ctor() +121
ASP.controls_uc_recentposts_ascx..ctor() +10
ASP.controls_layout_tg_leftregion_ascx.__BuildControlRecentposts() +23
ASP.controls_layout_tg_leftregion_ascx.__BuildControlTree(controls_layout_tg_leftregion_ascx __ctrl) +241
ASP.controls_layout_tg_leftregion_ascx.FrameworkInitialize() +45
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
ASP.controls_layout_uc_midheader_ascx.__BuildControl_LeftRegion() +53
ASP.controls_layout_uc_midheader_ascx.__BuildControlTree(controls_layout_uc_midheader_ascx __ctrl) +71
ASP.controls_layout_uc_midheader_ascx.FrameworkInitialize() +21
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
ASP.games_index_aspx.__BuildControlMidheader1() +52
ASP.games_index_aspx.__BuildControlfrmDefault() +113
ASP.games_index_aspx.__BuildControlTree(games_index_aspx __ctrl) +25
ASP.games_index_aspx.FrameworkInitialize() +21
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.games_index_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
7,517 views 0 replies