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 UDDI and how to register the web service in it?

0 Answers   TCS,


What is Ajax? How it is related to your project?

0 Answers   Wipro,


What is Event - Delegate? clear syntax for writing a event delegate

0 Answers  


Sql Queries: A Table will be given Omiting Duplicate rows and adding a new column

0 Answers  


Different between .net & j2ee ?

0 Answers  






Interop Services?

0 Answers  


What is shared and repeatable inheritance?

0 Answers  


String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12

6 Answers  


Explain the different types of proxy patterns?

0 Answers  


what is prototype design pattern in .net

0 Answers   Infosys,


What?s the Unix name for a Windows service equivalent?

1 Answers  


What are the contents of assembly?

4 Answers   ABC, Ksb,


Categories