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

What is the concept of inheritance in .net?

0 Answers  


Explain what is heap and what is stack?

0 Answers  


syntax for binding the data from database

1 Answers   Satyam,


What is LINQ?

2 Answers   Ethos, MSP, TCS,


With these events, why wouldn't microsoft combine invalidate and paint, so that you wouldn't have to tell it to repaint, and then to force it to repaint?

0 Answers  






What is STA in .NET?

0 Answers  


What is Entity Relationship Model in .NET?

0 Answers   Viscus Infotech,


What is "common language specification" (cls) in .net?

0 Answers  


What is shared and repeatable inheritance?

0 Answers  


what is the default security setting in .net?

0 Answers  


Please tell us what is the difference between override and overload in a method?

0 Answers  


What is use of ContextUtil class?

1 Answers  


Categories