Server Error in '/' Application.

Value cannot be null.
Parameter name: url

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.ArgumentNullException: Value cannot be null.
Parameter name: url

Source Error:


Line 16:     {
Line 17: 	string host = Request.QueryString["host"];
Line 18:        	Response.Redirect(host);
Line 19:         
Line 20:     }

Source File: d:\01WebSite\厦大page\front.aspx.cs    Line: 18

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: url]
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +12420868
   xmu.Page_Load(Object sender, EventArgs e) in d:\01WebSite\厦大page\front.aspx.cs:18
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


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