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
What are the new 2.0 features useful for?
Explain the features that are common to all .Net languages.
Explain about .NET services?
What are situations when you register .NET assembly in GAC ?
Explain difference between panel and groupbox classes using .net?
Can a try block have more than one catch block?
How do you turn off cookies for one page in your site? Give an example.
What's the use of system.diagnostics.process class in .net?
What is .net technology?
Explain can 2 different applications use the same dll in gac at the same time?
Tell us what is json data, and what is one way that .net developers can work with json?
If you are executing these statements in commandobject. Select * from table1; select * from table2? How you will deal result set? 42. How do you sort a dataset.
What is garbage collection and how it works ?
How is .net core cross platform?
How to produce an assembly?