Explain weg config settings for exception managment in asp.net?

Answer Posted / vijay

You should configure exception management settings within
your application's Web.config file. The following is an
example of the exception settings in a Web.config file.

< customErrors defaultredirect="http://hostname/error.aspx"
mode="On"/>
< error statuscode="500" redirect="/errorpages/
servererror.aspx" />
< error statuscode="404" redirect="/errorpages/
filenotfound.htm" />
< /customErrors>

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are asp.net authentication providers and iis security?

754


Explain code access security.

777


I have a problem in installing visual Studio 2008 on PC that have Celeron Processor ? afterAll InstallionFaied . Pls suggest me . Is it possible or not .if Yes then How ?

1783


Tell about your technical profile ?

3313


Is there built-in support for logging?

834


What is the transport protocol you use to call a seb service soap?

754


What is Finalizer in .NET define Dispose and Finalize ?

791


Can "this" be used within a static method?

803


Please explain what inheritance is, and why it's important?

766


How can you instantiate a tuple?

763


Explain me what is a design pattern and what is it for?

761


Explain something about WebService?

909


Explain the .net framework overview?

770


Explain me what is .net web service?

768


In code behind class, name the type of code found. Is it the server side code or client side code?

1011