473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Redirect URI cannot contain newline characters

Hi All,

i am getting this error once i submit my page to a payment gateway and when
it returns the reponse back.

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.

can any help on this issue?

thanks
Thomas
Jul 7 '06 #1
3 8106
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discussions.microsoft.coma écrit dans le message de news:
7E**********************************@microsoft.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

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.

can any help on this issue?

thanks
Thomas

Jul 7 '06 #2
No I didn't. Thanks I will.

"Patrice" wrote:
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discussions.microsoft.coma écrit dans le message de news:
7E**********************************@microsoft.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

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.

can any help on this issue?

thanks
Thomas


Jul 10 '06 #3
Hi, I have the same problem. I review the url and I not found invalid
characters. My error happens when I redirect from login Page using the
returnURL,before it was well, but now it does not work correctly what is
the problem, please help me
"Patrice" wrote:
I suppose you send this page an address to which it should redirect once
done ? If yes, have you checked you don't have invalid characters in this
address ?

--
Patrice

"Thomas" <Th****@discussions.microsoft.coma écrit dans le message de news:
7E**********************************@microsoft.com...
Hi All,

i am getting this error once i submit my page to a payment gateway and
when
it returns the reponse back.

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.

can any help on this issue?

thanks
Thomas


Aug 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Damo | last post by:
Could someone please help me. I am a newbie at PHP. I downloaded formail.php Version 5.0 from Jacks scripts( http://www.dtheatre.com/scripts/ )and changed the required areas to my email address and...
3
by: mudge | last post by:
I'm having a problem getting rid of newlines. say I have this situation: $cat = "A nice\n cat"; The "\n" is an escape character which creates a newline right there. Now, how would I get...
7
by: Donna Hawkins | last post by:
I want to use javascript to redirect to a URL which has been passed as a variable (in php). I have searched but cannot find any solution. I think this code is a basic redirect: <script...
1
by: pmud | last post by:
Hi, Through our ASP.NET website, when i complete the order I get the error,"Redirect URI cannot contain newline characters. " Any idea why its doing that? -- pmud
4
by: Roel | last post by:
Hello When I have an exception within a try - catch block, I sent the user to my error page with the following code: Response.Redirect(@"error.aspx?errmsg=" + ex.Message + "&errsource=" +...
4
by: Roel | last post by:
Hello When I have an exception within a try - catch block, I sent the user to my error page with the following code: Response.Redirect(@"error.aspx?errmsg=" + ex.Message + "&errsource=" +...
2
by: John Salerno | last post by:
If I read a string that contains a newline character(s) into a variable, then write that variable to a file, how can I retain those newline characters so that the string remains on one line rather...
10
by: yaniv.dg | last post by:
hi all, i'm bumping into smething very starnge its very simple code but from some reason the program is acting strange this is my code: #include<stdio.h> #include<conio.h> void main(void) {...
3
by: ofilha | last post by:
I am trying to export the resultset of a query to a character delimited file. I am using the wizard for this. However, one of the fields is 512 characters long and it accepts from form address. It...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.