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 24: 
Line 25:         If IsPostBack = False And IsCallback = False Then
Line 26:             If Uri.IsWellFormedUriString(Request.UrlReferrer.ToString(), UriKind.Absolute) = False Then
Line 27:                 Return
Line 28:             End If

Source File: C:\WEBSITES\SDGINFOGRAPHIC\country-profile-new\tab.aspx.vb    Line: 26

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   country_profile_new_tab.Page_Load(Object sender, EventArgs e) in C:\WEBSITES\SDGINFOGRAPHIC\country-profile-new\tab.aspx.vb:26
   System.Web.UI.Control.OnLoad(EventArgs e) +86
   System.Web.UI.Control.LoadRecursive() +97
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2001


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