Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have published a website on iis. I have added a small web application inside it by using "Add Application" option of iis.The problem is when i try to redirect from that applications home page to main websites home page it gives me error "the resource cannot be found".How can i redirect to home page?
Please help me...

Thanks in advance..
Posted
Comments
ZurdoDev 23-Jun-14 10:18am    
The error means your url is incorrect. To fix, redirect to the correct url.

1 solution

If you want to redirect to another domain you have to specify the exact URL , let say you want to redirect form mail.yahoo.com to yahoo.com you have to mention
Response.redirect("yahoo.com"). So as Ryan mentioned the URL is not correct!

on the other hand if only there are sub folders and folder you can refer to the following link for more Info

http://www.codeproject.com/script/Answers/Post.aspx?aid=785843[^]
 
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