PrepAway - Latest Free Exam Questions & Answers

What should you recommend?

An ASP.NET Web application hosted on a remote server throws MullReferenceException
exceptions that are not handled. The stack trace does not include line numbers. The
Microsoft Visual Studio 2010 remote debugging tools are installed on the remote server.
You need to recommend an approach for identifying the line of code that is causing the
exception. What should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the project-level Enable Code Analysis on Build property to true. Inspect the
Application event log.

B.
In the Web.config file, set the debug value to true. Attach the debugger to the remote
worker process.

C.
Deploy the PDB files for the assemblies to the remote server. Inspect the Application
event log.

D.
Set the project-level Optimize code property to false. Attach the debugger to the remote
worker process.

Explanation:


Leave a Reply