PrepAway - Latest Free Exam Questions & Answers

You need to break execution where the exception is thrown

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?

PrepAway - Latest Free Exam Questions & Answers

A.
Enable the User-unhandled option for SqlExceptionin Visual Studio Exception configuration.

B.
Set the value of the customErrors element’s mode attribute to “on” in the web.config file.

C.
Manually attach the Visual Studio debugger to Internet Explorer

D.
Enable the thrown option for SqlException in Visual Studio exception configuration.

Explanation:
http://msdn.microsoft.com/en-us/library/d14azbfh.aspx


Leave a Reply