nerdexam
Microsoft

70-515 · Question #175

You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the…

The correct answer is D. Enable the thrown option for SqlException in Visual Studio exception configuration. See the full explanation below for the reasoning.

Question

You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?

Options

  • AEnable the User-unhandled option for SqlException in Visual Studio Exception configuration.
  • BSet the value of the customErrors element's mode attribute to "on" in the web.config file.
  • CManually attach the Visual Studio debugger to Internet Explorer
  • DEnable the thrown option for SqlException in Visual Studio exception configuration.

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    4% (1)
  • C
    4% (1)
  • D
    83% (19)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice