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 the types of assemblies in .net?

816


Is .net core free?

860


Explain Different kinds of methods?

1862


Explain when should you use .net web forms over asp.net mvc?

735


Is .net core installed?

802


Please explain what is heap and what is stack?

783


Describe the Managed Execution Process

1883


Different between .net & j2ee ?

817


When should I use .net core?

823


How to produce an assembly?

845


What is the use com component in .net?

791


What is WSDL? Explain its architecture?

889


Explain clr, cts and cls?

868


What are the new thee features of com+ services, which are not there in com (mts)?

736


What is the lapsed listener problem?

962