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 84: 		else
Line 85: 		{
Line 86: 			context.Parameters.Add("HTTP_REFERER", Request.ServerVariables["HTTP_REFERER"]);
Line 87: 			if(Visitor.Current.LoggedIn)
Line 88: 			{

Source File: D:\webs\abtn.co.uk\www\docs\SendToFriend.aspx    Line: 86

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   EmpowerX.Parameters.ParameterCollection.Add(String strKey, String strParam) +26
   ASP.SendToFriend_aspx.Page_Load(Object sender, EventArgs e) in D:\webs\abtn.co.uk\www\docs\SendToFriend.aspx:86
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +733


Version Information: Microsoft .NET Framework Version:1.1.4322.2379; ASP.NET Version:1.1.4322.2379