Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on web application. In web config I put the below code, but it is not working why?

C#
<customErrors mode="On" defaultRedirect="~/ErrorPages/Error.aspx" >
      
    </customErrors>


If I put "|" in my user after any directory, it shows the following error

Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Posted

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