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 37:         catch (Exception ex)
Line 38:         {
Line 39:             Response.Redirect("./?" + ex.Message);
Line 40: 
Line 41:         }

Source File: d:\inetpub\vhosts\chitrakavita.com\marathiquotes.chitrakavita.com\Categories.aspx.cs    Line: 39

Stack Trace:


[ArgumentException: Redirect URI cannot contain newline characters.]
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +11188212
   Categories.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\chitrakavita.com\marathiquotes.chitrakavita.com\Categories.aspx.cs:39
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175