nerdexam
Microsoft

70-515 · Question #18

You are implementing an ASP.NET Web site. The root directory of the site contains a page named Error.aspx. You need to display the Error.aspx page if an unhandled error occurs on any page within the…

The correct answer is B. Add the following configuration to the web.config file. See the full explanation below for the reasoning.

Question

You are implementing an ASP.NET Web site. The root directory of the site contains a page named Error.aspx. You need to display the Error.aspx page if an unhandled error occurs on any page within the site. You also must ensure that the original URL in the browser is not changed. What should you do?

Options

  • AAdd the following configuration to the web.config file.
  • BAdd the following configuration to the web.config file.
  • CAdd the following code segment to the Global.asax file.
  • DAdd the following code segment to the Global.asax file.

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    76% (28)
  • C
    3% (1)
  • D
    16% (6)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice