Server Error in '/ICS' 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 26: 
Line 27: 
Line 28:             var sess =  Request.QueryString["Sess"].ToString();
Line 29:             var yr = Request.QueryString["yr"].ToString();
Line 30:             var cat = Request.QueryString["cat"].ToString();

Source File: D:\Program Files\Jenzabar\ICS.NET\Portal\Portlets\CUS\ICS\Portlet.CourseOfferings\Default_View.ascx.cs    Line: 28

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Portlet.CourseOfferings.Default_View.Page_Load(Object sender, EventArgs e) in D:\Program Files\Jenzabar\ICS.NET\Portal\Portlets\CUS\ICS\Portlet.CourseOfferings\Default_View.ascx.cs:28
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   Jenzabar.Portal.Framework.Web.UI.PortletViewBase.OnLoad(EventArgs e) +967
   System.Web.UI.Control.LoadRecursive() +153
   System.Web.UI.Control.LoadRecursive() +250
   System.Web.UI.Control.LoadRecursive() +250
   System.Web.UI.Control.LoadRecursive() +250
   System.Web.UI.Control.LoadRecursive() +250
   System.Web.UI.Control.LoadRecursive() +250
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4081


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