Microsoft
98-363 · Question #85
You work asa Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 asits application development platform. You create aWeb application using .NET Framework 3.5. You want to…
The correct answer is A. Set the mode attributeof thecustomErrors element to On and the defaultRedirect. See the full explanation below for the reasoning.
Question
You work asa Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 asits application development platform. You create aWeb application using .NET Framework 3.5. You want to redirectusers to a defaulterror page if anunhandlederror occurs within your site. Which of the following actions will you perform to accomplishthe task?
Options
- ASet the mode attributeof thecustomErrors element to On and the defaultRedirect
- BSet the redirectattribute of the error element to an error pagewithin your site.
- CSet the statusCode attribute of the error element to 404 and the redirect attributeto a
- DSet themode attributeof thecustomErrors elementto Off and the defaultRedirect
How the community answered
(39 responses)- A79% (31)
- B3% (1)
- C5% (2)
- D13% (5)
Community Discussion
No community discussion yet for this question.