Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

i am getting "Redirect URI cannot contain newline characters" this error when my page redirect to next page.

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?
Posted
Comments
Ramug10 5-Mar-14 4:47am    
show me your code..
Richard MacCutchan 5-Mar-14 4:56am    
Look at the text of the URI, and see why it has newlines in it.

Try to identify new line characters from your url before redirection to new page.replace it with any other unique characters , after coming to new redirected page ,change replaced characters by original one. If possible post your redirection url so that any one can help you properly.
 
Share this answer
 
Hello All,


There was special characters in my URL that's why my page was not redirecting to new page.


Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900