Server Error in '/' Application.

Redirect URI cannot contain newline characters.

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.ArgumentException: Redirect URI cannot contain newline characters.

Source Error:


Line 162:            {
Line 163:                string newURL = string.Concat("/Searched.aspx?cx=partner-pub-8032736001124338%3a4087514370&cof=FORID%3a10&ie=UTF-8&q=", currentRanqed, "&sa=Search&siteurl=zankrank.com");
Line 164:                Response.Redirect(newURL);
Line 165:            }
Line 166:

Source File: g:\pleskvhosts\zankrank.com\httpdocs\Ranqed\Default.aspx.cs    Line: 164

Stack Trace:


[ArgumentException: Redirect URI cannot contain newline characters.]
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +9774513
   System.Web.HttpResponse.Redirect(String url) +14
   Ranqed_Default.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\zankrank.com\httpdocs\Ranqed\Default.aspx.cs:164
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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