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



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

Answer / 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

More Dot Net General Interview Questions

How can you instantiate a tuple?

0 Answers  


Differences between datagrid, datalist and repeater in .net?

0 Answers  


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

0 Answers  


What are the new features in .net core?

0 Answers  


Explain the use of ‘this’ keyword in Java?

1 Answers  






Difference between assembly manifest & metadata assembly manifest

4 Answers   Ksb,


What are the different types of assemblies?

3 Answers  


What are the security policy levels in .Net

0 Answers  


Value type & data types difference. Example from .NET.

2 Answers   TCS,


What is a design pattern and what is it for?

0 Answers  


what is a strong name?

3 Answers  


What is Serialiazation?

1 Answers   TCS,


Categories