Answer Posted / minhajul islam
Yes, We can
using this tag in web.config
<customErrors mode="On"
defaultRedirect="~/errors/GeneralError.aspx">
<error statusCode="404"
redirect="~/errors/PageNotFound.aspx" />
</customErrors>
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the good practice to implement validations in aspx page?
What is razor? : asp.net mvc
What are the various ways to send content from one page to another?
What is difference between asp.net and asp?
Can master pages be nested?
How do you identify that the page is postback?
What is the function used for removing an event listener?
What is data caching?
What is tracing? Where is it used?
Is asp.net a programming language or framework?
How to you can limit Access to Web API to Specific HTTP Verb?
Tell me the code snippet to show how we can return 404 errors from HttpError?
What is the meaning of TestApi?
How to display Alert in ASP.NET
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?