Server Error in '/' Application.

Value cannot be null.
Parameter name: type

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.ArgumentNullException: Value cannot be null.
Parameter name: type

Source Error:


Line 116:        Type DataSetType = Type.GetType(strDataSet + ", App_Code.hxs4ab85, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null");
Line 117:
Line 118:        object adapter = Activator.CreateInstance(TableAdapterType);
Line 119:        object dt = Activator.CreateInstance(DataSetType);
Line 120:

Source File: c:\inetpub\wwwroot\prep2prep.com\httpdocs\WidgetGameCenterHeader.ascx.cs    Line: 118

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +14216688
   System.Activator.CreateInstance(Type type) +12
   WidgetGameCenterHeader.LoadBoxScoreAdapter() in c:\inetpub\wwwroot\prep2prep.com\httpdocs\WidgetGameCenterHeader.ascx.cs:118
   WidgetGameCenterHeader.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\prep2prep.com\httpdocs\WidgetGameCenterHeader.ascx.cs:104
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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