Click here to Skip to main content
15,886,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
i have a problem on my website.
the problem will arise that,
www.abc.com/register.aspx
when i hit the above exampled page on browser,then i receive the below response error,

error:

Server Error in '/mch' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /mch/CustomError.aspx


but actually the register.aspx page have there in the root folder of my website.

so i totally confuse with this. please kindly give me a solution for this.

thanks in advance..
Posted
Comments
Raajkumar.b 6-Mar-14 7:43am    
hi,
try this once
Response.Redirect("RootFolderName/register.aspx");

Response.Redirect("register.aspx");
please check you spell correctly or not
 
Share this answer
 
Comments
stellus 6-Mar-14 6:41am    
that also i have checked on my website. but no change.
Ankur\m/ 6-Mar-14 6:41am    
OP never said he is redirecting to register page.
stellus 6-Mar-14 6:43am    
please give me any solution on this?
Ankur\m/ 6-Mar-14 7:22am    
I did add an answer. Did you check it?
It seems there is something wrong in your Register.aspx page (probably some unhandled exception is thrown) and thus it is being redirected to CustomError.aspx page. Do you have customError[^] mode set to On and defaultRedirect set to CustomError.aspx in your web config? And most like you do not have a CustomError.aspx page in your web site.
 
Share this answer
 
That path name or page name Incorrect,Check again that path or Pagename if here is any space is there or it's spelling .Or Build that site then check
 
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