GIAC
GSSP-NET · Question #130
GSSP-NET Question #130: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #130. The question stem and answer options stay visible for context.
Question
You work as a Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Web application using .NET Framework 3.5. You want to ensure that when an unhandled exception occurs on the site, a custom error page errorpage.aspx is displayed. Also, you want to ensure that when the HTTP 500 error GIAC GSSP-.NET Exam occurs, the servererror.aspx page is displayed. Which of the following settings will you add inside the system.web section of the Web.config file to accomplish the task?
Options
- A<compilation debug="true">
- B<customErrors defaultRedirect="errorpage.aspx" mode="on"> <error statusCode="500"
- C<customErrors defaultRedirect="servererror.aspx" mode="on"> <error statusCode="500"
- D<trace enabled="true" localOnly="false" />
Unlock GSSP-NET to see the answer
You've previewed enough free GSSP-NET questions. Unlock GSSP-NET for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.