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 .net3.5?

0 Answers  


What makes .net core cross platform?

0 Answers  


In Mvc Architecure what is view?

1 Answers   TCS,


How many types of transactions are there in com + .net ?

0 Answers  


Explain what are the deferred execution and the immediate execution in linq?

0 Answers  


How server form post-back works?

0 Answers  


What is the base class of Button control in .NET?

0 Answers  


What is meant by .Net framework?

1 Answers  


Explain me what is encapsulation?

0 Answers  


How inheritance works in .net?

0 Answers  


How will you register com+ services?

0 Answers  


What are virtual destructures?

0 Answers  


Categories