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 12: 	string addparams = null;
Line 13: 	string search = Request["search"];
Line 14: 	search = search.Trim();
Line 15: 	string search_type = Request["search_type"];
Line 16: 	addparams = "search=" + HttpUtility.UrlEncode(search) + "&search_type=" + HttpUtility.UrlEncode(search_type);

Source File: D:\www\adventsource.org\wwwroot\search_2.aspx    Line: 14

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP.search_2_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in D:\www\adventsource.org\wwwroot\search_2.aspx:14
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
   System.Web.UI.Control.Render(HtmlTextWriter writer) +7
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
   System.Web.UI.Page.ProcessRequestMain() +1926


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