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 is .net and why it is used?

536


How to customize the trace output?

555


Tell us what is a variable of implicit type and what is its scope?

573


Explain how viewstate is being formed and how it's stored on client in .net?

544


Explain about .net?

624






Types of evidence in .net with context to CAS

1646


What is msil, il?

600


Describe the use of following com+ services jit activation, queued components, object pooling.?

528


What is difference between static page and dynamic page?

530


What is the difference between function and stored procedure?

586


hai, about trading domain and need simple project on trading system. please help me...

1572


What is "microsoft intermediate language" (msil)?

522


Explain why do we use msmq?

555


What are the deferred execution and the immediate execution in linq?

531


Why is .net used?

555