Its say no newline characters in the redirect URI like...3 times in the
error you posted. So heres what you do to fix it:

Take the newline character out of the URI.

On Thu, Dec 11, 2008 at 1:34 PM, Cerebrus <[email protected]> wrote:

>
> Your ASP.NET error stacktrace tells you everything you need to know.
> Why can't you just follow the instructions provided ?
>
> On Dec 11, 9:43 pm, asit <[email protected]> wrote:
> > Actually I am trying to insert data to my oracle 10g data from an asp
> > page..
> >
> > Can anyone give me any little information about this ????
> >
> > Server Error in '/Gyani1' 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:
> >
> > The source code that generated this unhandled exception can only be
> > shown when compiled in debug mode. To enable this, please follow one
> > of the below steps, then request the URL:
> >
> > 1. Add a "Debug=true" directive at the top of the file that generated
> > the error. Example:
> >
> >   <%@ Page Language="C#" Debug="true" %>
> >
> > or:
> >
> > 2) Add the following section to the configuration file of your
> > application:
> >
> > <configuration>
> >    <system.web>
> >        <compilation debug="true"/>
> >    </system.web>
> > </configuration>
> >
> > Note that this second technique will cause all files within a given
> > application to be compiled in debug mode. The first technique will
> > cause only that particular file to be compiled in debug mode.
> >
> > Important: Running applications in debug mode does incur a memory/
> > performance overhead. You should make sure that an application has
> > debugging disabled before deploying into production scenario.
> >
> > Stack Trace:
> >
> > [ArgumentException: Redirect URI cannot contain newline characters.]
> >    System.Web.HttpResponse.Redirect(String url, Boolean endResponse)
> > +548
> >    System.Web.HttpResponse.Redirect(String url) +7
> >    NewAccount.ProceedButton_Click(Object sender, EventArgs e) +905
> >    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75
> >    System.Web.UI.WebControls.Button.RaisePostBackEvent(String
> > eventArgument) +97
> >
> >
> System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePĀ­ostBackEvent
> > (String eventArgument) +7
> >    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
> > sourceControl, String eventArgument) +11
> >    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
> > +33
> >    System.Web.UI.Page.ProcessRequestMain(Boolean
> > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
> > +4919
> >
> > Version Information: Microsoft .NET Framework Version:2.0.50727.42;
> > ASP.NET Version:2.0.50727.42
>

Reply via email to