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 26: 		end if
Line 27: 		if Not IsNumeric(Convert.ToInt64(Request.Querystring("l"))) OR Request.Querystring("l") = 0 then
Line 28: 		      if Not IsNumeric(Request.Cookies("l").Value) OR Request.Cookies("l").Value = 0 then
Line 29: 		          languageid = 1
Line 30: 			 else

Source File: C:\Inetpub\vhosts\africa2trust.com\httpdocs\a2t\Ctls\CtlVision.ascx    Line: 28

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.a2t_ctls_ctlvision_ascx.BindVariables() in C:\Inetpub\vhosts\africa2trust.com\httpdocs\a2t\Ctls\CtlVision.ascx:28
   ASP.a2t_ctls_ctlvision_ascx.page_Load() in C:\Inetpub\vhosts\africa2trust.com\httpdocs\a2t\Ctls\CtlVision.ascx:13
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +9874353
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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